summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/PacketDataSerializer.java
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2014-04-10 20:04:38 -0500
committerTravis Watkins <amaranth@ubuntu.com>2014-04-11 22:28:35 -0500
commit8f771c737850130534b0fade70494f7ce3cbc8fd (patch)
treee4180121cdaf4f15b325aa059469b44975fca8a4 /src/main/java/net/minecraft/server/PacketDataSerializer.java
parent0df7555cecff17ffab68b8280dcf8471b10f020c (diff)
downloadcraftbukkit-8f771c737850130534b0fade70494f7ce3cbc8fd.tar
craftbukkit-8f771c737850130534b0fade70494f7ce3cbc8fd.tar.gz
craftbukkit-8f771c737850130534b0fade70494f7ce3cbc8fd.tar.lz
craftbukkit-8f771c737850130534b0fade70494f7ce3cbc8fd.tar.xz
craftbukkit-8f771c737850130534b0fade70494f7ce3cbc8fd.zip
Update CraftBukkit to Minecraft 1.7.8
Diffstat (limited to 'src/main/java/net/minecraft/server/PacketDataSerializer.java')
-rw-r--r--src/main/java/net/minecraft/server/PacketDataSerializer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PacketDataSerializer.java b/src/main/java/net/minecraft/server/PacketDataSerializer.java
index fe2b24d3..f6f870fd 100644
--- a/src/main/java/net/minecraft/server/PacketDataSerializer.java
+++ b/src/main/java/net/minecraft/server/PacketDataSerializer.java
@@ -74,7 +74,7 @@ public class PacketDataSerializer extends ByteBuf {
byte[] abyte = new byte[short1];
this.readBytes(abyte);
- return NBTCompressedStreamTools.a(abyte);
+ return NBTCompressedStreamTools.a(abyte, new NBTReadLimiter(2097152L));
}
}