From c314a57c904e10f33d65de4c89953b92394dc8d2 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 27 Dec 2014 22:44:51 +0000 Subject: [PATCH] Remove tile entity tags for signs and command blocks By: Thinkofdeath --- .../bukkit/craftbukkit/inventory/CraftMetaTileEntity.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java index 6718f96e68..17b913deed 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java @@ -20,7 +20,10 @@ public class CraftMetaTileEntity extends CraftMetaItem { super(meta); this.material = material; - if (!(meta instanceof CraftMetaTileEntity) || ((CraftMetaTileEntity) meta).material != material) { + if (!(meta instanceof CraftMetaTileEntity) + || ((CraftMetaTileEntity) meta).material != material + || material == Material.SIGN + || material == Material.COMMAND) { blockEntityTag = null; return; }