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
1 changed files with 4 additions and 2 deletions

View File

@ -291,8 +291,9 @@ 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;
} }
@ -310,8 +311,9 @@ 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);