Set remap=false to brigadier mixins
This commit is contained in:
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;
|
||||||
|
|||||||
Reference in new issue
Block a user