3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00
Paper/nms-patches/DataInspectorBlockEntity.patch
2017-05-14 12:00:00 +10:00

13 Zeilen
657 B
Diff

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