3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 04:50:06 +01:00

Remove tile entity tags for signs and command blocks

Dieser Commit ist enthalten in:
Thinkofdeath 2014-12-27 22:44:51 +00:00
Ursprung bd703b831c
Commit 0e2396c22f

Datei anzeigen

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