Fixes #650
This commit is contained in:
parent
d8e756a74e
commit
70c0838602
@ -39,7 +39,6 @@ import net.minecraft.server.v1_11_R1.BiomeBase;
|
||||
import net.minecraft.server.v1_11_R1.BiomeCache;
|
||||
import net.minecraft.server.v1_11_R1.Block;
|
||||
import net.minecraft.server.v1_11_R1.BlockPosition;
|
||||
import net.minecraft.server.v1_11_R1.ChunkCoordIntPair;
|
||||
import net.minecraft.server.v1_11_R1.ChunkProviderGenerate;
|
||||
import net.minecraft.server.v1_11_R1.ChunkProviderServer;
|
||||
import net.minecraft.server.v1_11_R1.ChunkSection;
|
||||
@ -299,9 +298,8 @@ public class BukkitQueue_1_11 extends BukkitQueue_0<net.minecraft.server.v1_11_R
|
||||
// Load the chunks again
|
||||
if (unload) {
|
||||
for (net.minecraft.server.v1_11_R1.Chunk chunk : chunks) {
|
||||
chunk = provider.loadChunk(chunk.locX, chunk.locZ);
|
||||
chunk = provider.getChunkAt(chunk.locX, chunk.locZ, null, false);
|
||||
if (chunk != null) {
|
||||
provider.chunks.put(ChunkCoordIntPair.a(chunk.locX, chunk.locZ), chunk);
|
||||
sendChunk(chunk, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user