From bf68f448084110ddd75114454be745fd5480f8df Mon Sep 17 00:00:00 2001 From: sychic <47618543+Sychic@users.noreply.github.com> Date: Tue, 18 Jun 2024 15:06:45 -0700 Subject: [PATCH] stage1/ml9: make transformation service path to be compatible with the mixin bootstrap path --- .../loader/stage1/EssentialTransformationServiceBase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stage1/modlauncher/src/main/java/gg/essential/loader/stage1/EssentialTransformationServiceBase.java b/stage1/modlauncher/src/main/java/gg/essential/loader/stage1/EssentialTransformationServiceBase.java index 17936ba..330c8e5 100644 --- a/stage1/modlauncher/src/main/java/gg/essential/loader/stage1/EssentialTransformationServiceBase.java +++ b/stage1/modlauncher/src/main/java/gg/essential/loader/stage1/EssentialTransformationServiceBase.java @@ -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 LOADED = - TypesafeMap.Key.getOrCreate(blackboard, KEY_LOADED, ITransformationService.class); + TypesafeMap.Key.getOrCreate(blackboard, KEY_LOADED, Object.class); if (blackboard.get(LOADED).isPresent()) { return; }