fix: restore missing /tiedup tie command registration (review)

This commit is contained in:
NotEvil
2026-04-15 11:14:28 +02:00
parent c851da4eaf
commit 317dcdf12e

View File

@@ -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")