Don't use Packet56 and clear client cache on world changes.

This commit is contained in:
Travis Watkins
2012-08-05 18:42:03 -05:00
parent 0e013fa4b0
commit beb71069b7
2 changed files with 9 additions and 1 deletions

View File

@@ -167,7 +167,13 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
}
if (!arraylist.isEmpty()) {
this.netServerHandler.sendPacket(new Packet56MapChunkBulk(arraylist));
// CraftBukkit start - don't use map chunk bulk for now TODO: fix this
for (Object object : arraylist) {
this.netServerHandler.sendPacket(new Packet51MapChunk((Chunk) object, true, 0xffff));
}
// this.netServerHandler.sendPacket(new Packet56MapChunkBulk(arraylist));
// CraftBukkit end
Iterator iterator1 = arraylist1.iterator();
while (iterator1.hasNext()) {