SPIGOT-4049: Books lose NBT data

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-07-19 10:12:55 +10:00
parent 39de92187e
commit cda2741121
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@
+ // Called to run this stack through the data converter to handle older storage methods and serialized items
+ public void convertStack() {
+ if (MinecraftServer.getServer() != null) {
+ if (false && MinecraftServer.getServer() != null) { // Skip for now, causes more issues than it solves
+ // Don't convert some things - both the old and new data values are valid
+ // Conversion would make getting then impossible
+ if (this.item == Blocks.PUMPKIN.getItem() || this.item == Blocks.GRASS.getItem() || this.item == Blocks.SNOW.getItem()) {