diff --git a/src/main/java/com/tiedup/remake/commands/subcommands/BindCommands.java b/src/main/java/com/tiedup/remake/commands/subcommands/BindCommands.java index 84a82df..f8d897c 100644 --- a/src/main/java/com/tiedup/remake/commands/subcommands/BindCommands.java +++ b/src/main/java/com/tiedup/remake/commands/subcommands/BindCommands.java @@ -19,6 +19,17 @@ import net.minecraft.world.item.ItemStack; public class BindCommands { public static void register(LiteralArgumentBuilder root) { + // /tiedup tie + root.then( + Commands.literal("tie") + .requires(CommandHelper.REQUIRES_OP) + .then( + Commands.argument( + "player", + EntityArgument.player() + ).executes(BindCommands::tie) + ) + ); // /tiedup untie root.then( Commands.literal("untie")