mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-19 18:31:18 +02:00
11 lines
382 B
Diff
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");
|