summaryrefslogtreecommitdiffstats
path: root/nms-patches/DataInspectorBlockEntity.patch
blob: 0ec5d7998ce33717b9922f437f02abb11e71dae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/net/minecraft/server/DataInspectorBlockEntity.java
+++ b/net/minecraft/server/DataInspectorBlockEntity.java
@@ -32,7 +32,8 @@
                 boolean flag;
 
                 if (s1 == null) {
-                    DataInspectorBlockEntity.a.warn("Unable to resolve BlockEntity for ItemInstance: {}", s);
+                    // CraftBukkit - Remove unnecessary warning (occurs when deserializing a Shulker Box item)
+                    // DataInspectorBlockEntity.a.warn("Unable to resolve BlockEntity for ItemInstance: {}", s);
                     flag = false;
                 } else {
                     flag = !nbttagcompound2.hasKey("id");