diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-11-15 16:09:21 -0600 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-11-15 16:09:21 -0600 |
commit | 6149fc3e789678f9e80430f93b99b4f89baeb15d (patch) | |
tree | c897c927e905192c916812f66cc49730796fbda7 /src/main/java/net/minecraft/server/ControllerMove.java | |
parent | e1afee008feae398d48edcb2b2a3c45640e16271 (diff) | |
download | craftbukkit-6149fc3e789678f9e80430f93b99b4f89baeb15d.tar craftbukkit-6149fc3e789678f9e80430f93b99b4f89baeb15d.tar.gz craftbukkit-6149fc3e789678f9e80430f93b99b4f89baeb15d.tar.lz craftbukkit-6149fc3e789678f9e80430f93b99b4f89baeb15d.tar.xz craftbukkit-6149fc3e789678f9e80430f93b99b4f89baeb15d.zip |
Don't thread single chunk compression. Fixes BUKKIT-2927
Packet 51 is used to send updates about large changes to single chunks
and to remove chunks from the client when they get out of range. In the
first case a single packet object is created and queued for all relevant
players. With our current chunk compression scheme this means the first
player to have the packet processed will start the compression and get the
packet correctly but the rest will get garbage.
Since this packet never contains much data it is better to simply handle
compression of it on the main thread like vanilla does instead of putting in
locks and dealing with their overhead and complexity.
Diffstat (limited to 'src/main/java/net/minecraft/server/ControllerMove.java')
0 files changed, 0 insertions, 0 deletions