diff options
author | Linnea Gräf <nea@nea.moe> | 2024-09-06 20:20:46 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-09-06 20:20:46 +0200 |
commit | 94925ba3de7705345b30687f7845c3f850f489da (patch) | |
tree | 5e58668c5b9af736cf039a82a7a43f0617c67ca1 /src/main/java/moe/nea | |
parent | 82040018e5d29b7b81c8e62b490b7c3801e6aaaa (diff) | |
download | Firmament-94925ba3de7705345b30687f7845c3f850f489da.tar.gz Firmament-94925ba3de7705345b30687f7845c3f850f489da.tar.bz2 Firmament-94925ba3de7705345b30687f7845c3f850f489da.zip |
Fix a potential issue with mixin modification order
[no changelog]
Diffstat (limited to 'src/main/java/moe/nea')
-rw-r--r-- | src/main/java/moe/nea/firmament/init/ClientPlayerRiser.java | 4 | ||||
-rw-r--r-- | src/main/java/moe/nea/firmament/init/HandledScreenRiser.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/moe/nea/firmament/init/ClientPlayerRiser.java b/src/main/java/moe/nea/firmament/init/ClientPlayerRiser.java index 0a5bedd..d60e3e7 100644 --- a/src/main/java/moe/nea/firmament/init/ClientPlayerRiser.java +++ b/src/main/java/moe/nea/firmament/init/ClientPlayerRiser.java @@ -69,7 +69,7 @@ public class ClientPlayerRiser extends RiserUtils { @Override public void addTinkerers() { - ClassTinkerers.addTransformation(AbstractClientPlayerEntity, it -> mapClassNode(it, getTypeForClassName(PlayerEntity))); - ClassTinkerers.addTransformation(GuiPlayer, it -> mapClassNode(it, getTypeForClassName(AbstractClientPlayerEntity))); + ClassTinkerers.addTransformation(AbstractClientPlayerEntity, it -> mapClassNode(it, getTypeForClassName(PlayerEntity)), true); + ClassTinkerers.addTransformation(GuiPlayer, it -> mapClassNode(it, getTypeForClassName(AbstractClientPlayerEntity)), true); } } diff --git a/src/main/java/moe/nea/firmament/init/HandledScreenRiser.java b/src/main/java/moe/nea/firmament/init/HandledScreenRiser.java index baa0501..bcb754c 100644 --- a/src/main/java/moe/nea/firmament/init/HandledScreenRiser.java +++ b/src/main/java/moe/nea/firmament/init/HandledScreenRiser.java @@ -29,7 +29,7 @@ public class HandledScreenRiser extends RiserUtils { @Override public void addTinkerers() { - ClassTinkerers.addTransformation(HandledScreen, this::handle); + ClassTinkerers.addTransformation(HandledScreen, this::handle, true); } void handle(ClassNode classNode) { |