merge errors

This commit is contained in:
gnembon committed 2021-04-19 23:48:55 -03:00
1 parent 709d74ea47
commit 4b85bdcb86
2 files changed
+5 -4

No files matched your search

@@ -105,7 +105,7 @@ public class ServerNetworkHandler
new SnoopyCommandSource(player, error, output), command
);
}
CompoundTag result = new CompoundTag();
NbtCompound result = new NbtCompound();
result.putString("id", id);
result.putInt("code", resultCode);
if (error[0] != null) result.putString("error", error[0].asString());