}
@Override
public void removePlayer(EntityPlayerMP entityPlayerMP) {
if (this.playersInChunk.remove(entityPlayerMP)) {
Packet51MapChunk packet51MapChunk = new Packet51MapChunk();
packet51MapChunk.includeInitialize = true;
packet51MapChunk.xCh = chunkLocation.chunkXPos;
packet51MapChunk.zCh = chunkLocation.chunkZPos;
packet51MapChunk.yChMax = 0;
packet51MapChunk.yChMin = 0;
packet51MapChunk.setData(unloadSequence);
entityPlayerMP.playerNetServerHandler.sendPacketToPlayer(packet51MapChunk);
Collection<ChunkCoordIntPair> loadedChunks = entityPlayerMP.loadedChunks;
synchronized (loadedChunks) {
loadedChunks.remove(chunkLocation);
}