fix: restore missing /tiedup tie command registration (review)
This commit is contained in:
@@ -19,6 +19,17 @@ import net.minecraft.world.item.ItemStack;
|
||||
public class BindCommands {
|
||||
|
||||
public static void register(LiteralArgumentBuilder<CommandSourceStack> root) {
|
||||
// /tiedup tie <player>
|
||||
root.then(
|
||||
Commands.literal("tie")
|
||||
.requires(CommandHelper.REQUIRES_OP)
|
||||
.then(
|
||||
Commands.argument(
|
||||
"player",
|
||||
EntityArgument.player()
|
||||
).executes(BindCommands::tie)
|
||||
)
|
||||
);
|
||||
// /tiedup untie <player>
|
||||
root.then(
|
||||
Commands.literal("untie")
|
||||
|
||||
Reference in New Issue
Block a user