This commit is contained in:
Jesse Boyd 2016-12-14 09:36:28 +11:00
parent e7297199c1
commit 1b07dbae1d
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -291,9 +291,10 @@ public class BukkitQueue17 extends BukkitQueue_0<Chunk, ChunkSection[], ChunkSec
customPackets.put(version, customPacket); customPackets.put(version, customPacket);
} }
player.playerConnection.sendPacket(customPacket); player.playerConnection.sendPacket(customPacket);
} } else {
player.playerConnection.sendPacket(packet); player.playerConnection.sendPacket(packet);
} }
}
mask = 255; mask = 255;
} }
PacketPlayOutMapChunk packet = new PacketPlayOutMapChunk(nmsChunk, false, mask, 5); PacketPlayOutMapChunk packet = new PacketPlayOutMapChunk(nmsChunk, false, mask, 5);
@ -310,9 +311,10 @@ public class BukkitQueue17 extends BukkitQueue_0<Chunk, ChunkSection[], ChunkSec
customPackets.put(version, customPacket); customPackets.put(version, customPacket);
} }
player.playerConnection.sendPacket(customPacket); player.playerConnection.sendPacket(customPacket);
} } else {
player.playerConnection.sendPacket(packet); player.playerConnection.sendPacket(packet);
} }
}
} catch (Throwable e) { } catch (Throwable e) {
MainUtil.handleError(e); MainUtil.handleError(e);
} }