aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/firmament/mixins
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-01-19 00:30:35 +0100
committerLinnea Gräf <nea@nea.moe>2024-01-19 00:33:50 +0100
commitfd13f0f55a5e70a1506a58bb4b3c0275c41509b9 (patch)
treeb00a09b74fbb1c0d6ccc1e89f7f9d95a0a6f0b99 /src/main/java/moe/nea/firmament/mixins
parentdcb769967dce8c4e98f035c23f5167553750a94a (diff)
downloadFirmament-fd13f0f55a5e70a1506a58bb4b3c0275c41509b9.tar.gz
Firmament-fd13f0f55a5e70a1506a58bb4b3c0275c41509b9.tar.bz2
Firmament-fd13f0f55a5e70a1506a58bb4b3c0275c41509b9.zip
Minor Fixes
[no changelog]
Diffstat (limited to 'src/main/java/moe/nea/firmament/mixins')
-rw-r--r--src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java b/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java
index 88c03d6..a269e09 100644
--- a/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java
+++ b/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java
@@ -23,7 +23,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
public abstract class IncomingPacketListenerPatches {
- @ModifyExpressionValue(method = "onCommandTree", at = @At(value = "NEW", target = "(Lcom/mojang/brigadier/tree/RootCommandNode;)Lcom/mojang/brigadier/CommandDispatcher;"))
+ @ModifyExpressionValue(method = "onCommandTree", at = @At(value = "NEW", target = "(Lcom/mojang/brigadier/tree/RootCommandNode;)Lcom/mojang/brigadier/CommandDispatcher;", remap = false))
public CommandDispatcher onOnCommandTree(CommandDispatcher dispatcher) {
MaskCommands.Companion.publish(new MaskCommands(dispatcher));
return dispatcher;