blob: a91a3e3409e56cdc225cc06b0054a9bd9efee395 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- 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");
|