Remove tile entity tags for signs and command blocks

This commit is contained in:
Thinkofdeath 2014-12-27 22:44:51 +00:00
parent bd703b831c
commit 0e2396c22f

View file

@ -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;
}