mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 11:05:13 +01:00
Remove tile entity tags for signs and command blocks
This commit is contained in:
parent
bd703b831c
commit
0e2396c22f
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue