aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-09-06 20:20:46 +0200
committerLinnea Gräf <nea@nea.moe>2024-09-06 20:20:46 +0200
commit94925ba3de7705345b30687f7845c3f850f489da (patch)
tree5e58668c5b9af736cf039a82a7a43f0617c67ca1 /src/main/java
parent82040018e5d29b7b81c8e62b490b7c3801e6aaaa (diff)
downloadFirmament-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')
-rw-r--r--src/main/java/moe/nea/firmament/init/ClientPlayerRiser.java4
-rw-r--r--src/main/java/moe/nea/firmament/init/HandledScreenRiser.java2
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) {