From 56d4b75eedb83326a2d9bbffb5a9330dbede2fa0 Mon Sep 17 00:00:00 2001 From: Grider <65988663+himekifee@users.noreply.github.com> Date: Sun, 18 Jul 2021 19:53:04 +0800 Subject: [PATCH] Update DebugCommands.java --- src/main/java/org/jmt/mcmt/commands/DebugCommands.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/jmt/mcmt/commands/DebugCommands.java b/src/main/java/org/jmt/mcmt/commands/DebugCommands.java index 0770d3ab..87419c0b 100644 --- a/src/main/java/org/jmt/mcmt/commands/DebugCommands.java +++ b/src/main/java/org/jmt/mcmt/commands/DebugCommands.java @@ -56,6 +56,7 @@ public static LiteralArgumentBuilder registerDebug(LiteralArgumen StringTextComponent message = new StringTextComponent( "Block at " + bp + " is " + bs.getBlock().getRegistryName() + " has no NBT"); cmdCtx.getSource().sendFeedback(message, true); + return 1; } CompoundNBT nbt = te.serializeNBT(); ITextComponent itc = nbt.toFormattedComponent();