diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-05-05 21:43:47 +0100 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-05-17 10:32:59 +0100 |
commit | a48660074969c52ed2547e02981d224b696f93e2 (patch) | |
tree | fac414d927c9edfae7b91ed7e698f294ff3b700b /nms-patches/NBTTagList.patch | |
parent | 0a645a2726f031cc2d2c2a801574021283cf50ee (diff) | |
download | craftbukkit-a48660074969c52ed2547e02981d224b696f93e2.tar craftbukkit-a48660074969c52ed2547e02981d224b696f93e2.tar.gz craftbukkit-a48660074969c52ed2547e02981d224b696f93e2.tar.lz craftbukkit-a48660074969c52ed2547e02981d224b696f93e2.tar.xz craftbukkit-a48660074969c52ed2547e02981d224b696f93e2.zip |
Update to 1.8.4
Diffstat (limited to 'nms-patches/NBTTagList.patch')
-rw-r--r-- | nms-patches/NBTTagList.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/NBTTagList.patch b/nms-patches/NBTTagList.patch index f0b70c45..ae5a3012 100644 --- a/nms-patches/NBTTagList.patch +++ b/nms-patches/NBTTagList.patch @@ -1,10 +1,10 @@ ---- /home/matt/mc-dev-private//net/minecraft/server/NBTTagList.java 2015-04-16 22:20:21.171362490 +0100 -+++ src/main/java/net/minecraft/server/NBTTagList.java 2015-04-16 22:20:21.191362490 +0100 +--- /home/matt/mc-dev-private//net/minecraft/server/NBTTagList.java 2015-05-05 21:53:39.561105095 +0100 ++++ src/main/java/net/minecraft/server/NBTTagList.java 2015-05-05 21:53:39.561105095 +0100 @@ -40,6 +40,7 @@ - nbtreadlimiter.a(8L); + } else { this.type = datainput.readByte(); int j = datainput.readInt(); + nbtreadlimiter.a(j * 8); // CraftBukkit - this.list = Lists.newArrayList(); - + if (this.type == 0 && j > 0) { + throw new RuntimeException("Missing type on ListTag"); |