From bd0daa6d54d00845f33af75bed2bffa3a8fae85f Mon Sep 17 00:00:00 2001 From: feildmaster Date: Thu, 20 Dec 2012 18:05:11 -0600 Subject: Remove obsolete fix for the end The end was getting block offsets, causing client side issues. --- src/main/java/net/minecraft/server/Packet51MapChunk.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/main') diff --git a/src/main/java/net/minecraft/server/Packet51MapChunk.java b/src/main/java/net/minecraft/server/Packet51MapChunk.java index 8ae452a7..14a62455 100644 --- a/src/main/java/net/minecraft/server/Packet51MapChunk.java +++ b/src/main/java/net/minecraft/server/Packet51MapChunk.java @@ -172,16 +172,6 @@ public class Packet51MapChunk extends Packet { } } - // CraftBukkit start - Hackiest hack to have ever hacked. - // First of all, check to see if we flagged it to send, and all data is "0" - // This means that it's an "EmptyChunk," HOWEVER... It's not a physical EmptyChunk on the server, there is simply no data present - if (flag && i == 0xffff && j == 0 && chunkmap.b == 0 && chunkmap.c == 0) { - chunkmap.b = 1; - j = 10240; - java.util.Arrays.fill(abyte, 0, j, (byte) 0); - } - // CraftBukkit end - if (flag) { byte[] abyte2 = chunk.m(); -- cgit v1.2.3