diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 162c79e8..9b295cdc 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -218,17 +218,13 @@ public class CraftWorld implements World { net.minecraft.server.Chunk chunk = null; - chunk = Futures.getUnchecked(world.getChunkProviderServer().generateChunk(x, z)); + chunk = Futures.getUnchecked(world.getChunkProviderServer().generateChunk(x, z, true)); PlayerChunk playerChunk = world.getPlayerChunkMap().getChunk(x, z); if (playerChunk != null) { playerChunk.chunk = chunk; } if (chunk != null) { - world.getChunkProviderServer().chunks.put(chunkKey, chunk); - - chunk.addEntities(); - refreshChunk(x, z); } |