Skip to content

Commit

Permalink
stage1/ml9: make transformation service path compatible with mixin bo…
Browse files Browse the repository at this point in the history
…otstrap path
  • Loading branch information
Sychic committed Jun 18, 2024
1 parent eac3a3f commit 329bbd8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public EssentialTransformationServiceBase(
) throws Exception {
super(stage1 -> newFallbackService.apply(findUniqueId(stage0)));

// Check if another transformation service has already loaded stage2 (we do not want to load it twice)
// Check if another stage 1 loader has already loaded stage2 (we do not want to load it twice)
final TypesafeMap blackboard = Launcher.INSTANCE.blackboard();
final TypesafeMap.Key<ITransformationService> LOADED =
TypesafeMap.Key.getOrCreate(blackboard, KEY_LOADED, ITransformationService.class);
TypesafeMap.Key.getOrCreate(blackboard, KEY_LOADED, Object.class);
if (blackboard.get(LOADED).isPresent()) {
return;
}
Expand Down

0 comments on commit 329bbd8

Please sign in to comment.