This commit is contained in:
Sotr
2018-06-09 16:08:02 +08:00
parent 072923af35
commit 87f1537342

View File

@@ -32,7 +32,7 @@ public class OptimisticNetworkManager {
@Override
public boolean apply(QueuedPacket item) {
Packet<?> packet = item.getPacket();
return !(packet instanceof PacketPlayOutMapChunk && !((PacketPlayOutMapChunk) packet).isReady()); // Check if the peeked packet is a chunk packet which is not ready
return packet instanceof PacketPlayOutMapChunk && !((PacketPlayOutMapChunk) packet).isReady(); // Check if the peeked packet is a chunk packet which is not ready
}
};