*
This commit is contained in:
parent
e7297199c1
commit
1b07dbae1d
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user