Paper/nms-patches/NBTTagList.patch
2015-05-25 20:37:24 +10:00

11 lines
382 B
Diff

--- a/net/minecraft/server/NBTTagList.java
+++ b/net/minecraft/server/NBTTagList.java
@@ -40,6 +40,7 @@
} else {
this.type = datainput.readByte();
int j = datainput.readInt();
+ nbtreadlimiter.a(j * 8); // CraftBukkit
if (this.type == 0 && j > 0) {
throw new RuntimeException("Missing type on ListTag");