summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java
index 6718f96e..17b913de 100644
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaTileEntity.java
+++ b/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;
}