Set remap=false to brigadier mixins

This commit is contained in:
altrisi committed 2022-12-30 17:25:38 +01:00
1 parent 027d7f5808
commit 975ee79a3c
2 files changed
+2 -2

No files matched your search

@@ -10,7 +10,7 @@ import com.mojang.brigadier.tree.RootCommandNode;
import carpet.fakes.CommandDispatcherInterface; import carpet.fakes.CommandDispatcherInterface;
import carpet.fakes.CommandNodeInterface; import carpet.fakes.CommandNodeInterface;
@Mixin(CommandDispatcher.class) @Mixin(value = CommandDispatcher.class, remap = false)
public class CommandDispatcher_scarpetCommandsMixin<S> implements CommandDispatcherInterface { public class CommandDispatcher_scarpetCommandsMixin<S> implements CommandDispatcherInterface {
@Shadow @Final @Shadow @Final
private RootCommandNode<S> root; private RootCommandNode<S> root;
@@ -12,7 +12,7 @@ import com.mojang.brigadier.tree.LiteralCommandNode;
import carpet.fakes.CommandNodeInterface; import carpet.fakes.CommandNodeInterface;
@Mixin(CommandNode.class) @Mixin(value = CommandNode.class, remap = false)
public class CommandNode_scarpetCommandsMixin<S> implements CommandNodeInterface { public class CommandNode_scarpetCommandsMixin<S> implements CommandNodeInterface {
@Shadow @Final @Shadow @Final
private Map<String, CommandNode<S>> children; private Map<String, CommandNode<S>> children;