Skip to content

Commit

Permalink
Make sure registration for CoT runs last
Browse files Browse the repository at this point in the history
Signed-off-by: TheSilkMiner <thesilkminer@outlook.com>
  • Loading branch information
TheSilkMiner committed Jul 22, 2022
1 parent cf0391d commit 1a32dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import java.util.Iterator;

@Mixin(Registry.class)
@Mixin(value = Registry.class, priority = Integer.MAX_VALUE)
public abstract class RegistryMixin {

@Inject(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.LocalCapture;

@Mixin(value = GameData.class, remap = false)
@Mixin(value = GameData.class, remap = false, priority = Integer.MAX_VALUE)
public abstract class GameDataMixin {

@Inject(
Expand Down

0 comments on commit 1a32dc0

Please sign in to comment.