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:
Ursprung
bd703b831c
Commit
0e2396c22f
@ -20,7 +20,10 @@ public class CraftMetaTileEntity extends CraftMetaItem {
|
|||||||
super(meta);
|
super(meta);
|
||||||
this.material = material;
|
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;
|
blockEntityTag = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren