13
0
geforkt von Mirrors/Paper

SPIGOT-7857: Fix spurious internal NBT tag when deserializing BlockStateMeta

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2024-08-06 19:07:10 +10:00
Ursprung 2f0c34a2cf
Commit 8c7a0e888f

Datei anzeigen

@ -110,8 +110,10 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
} else { } else {
material = Material.AIR; material = Material.AIR;
} }
blockEntityTag = getBlockState(material, internalTag); if (internalTag != null) {
internalTag = null; blockEntityTag = getBlockState(material, internalTag);
internalTag = null;
}
} }
@Override @Override