summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-19 10:12:55 +1000
committermd_5 <git@md-5.net>2018-07-19 10:12:55 +1000
commit595ec6472690de62195d62b7dd3b5cb7e4118b32 (patch)
treeb58b7b9bd3a9bc9bb78f1108a5f6391b5fe7ec72 /nms-patches
parent92dceb827caf868be52e5fd08122e33b01c8d9f2 (diff)
downloadcraftbukkit-595ec6472690de62195d62b7dd3b5cb7e4118b32.tar
craftbukkit-595ec6472690de62195d62b7dd3b5cb7e4118b32.tar.gz
craftbukkit-595ec6472690de62195d62b7dd3b5cb7e4118b32.tar.lz
craftbukkit-595ec6472690de62195d62b7dd3b5cb7e4118b32.tar.xz
craftbukkit-595ec6472690de62195d62b7dd3b5cb7e4118b32.zip
SPIGOT-4049: Books lose NBT data
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/ItemStack.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/ItemStack.patch b/nms-patches/ItemStack.patch
index deb30027..8232f078 100644
--- a/nms-patches/ItemStack.patch
+++ b/nms-patches/ItemStack.patch
@@ -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()) {