SPIGOT-1823: Use fast chunk lookup in CraftWorld also

This commit is contained in:
md_5 2016-03-07 15:52:48 +11:00
parent 0cd6711085
commit 20d9f644a6

View File

@ -122,7 +122,7 @@ public class CraftWorld implements World {
} }
public Chunk getChunkAt(int x, int z) { public Chunk getChunkAt(int x, int z) {
return this.world.getChunkProviderServer().getChunkAt(x, z).bukkitChunk; return this.world.getChunkProviderServer().getOrCreateChunkFast(x, z).bukkitChunk;
} }
public Chunk getChunkAt(Block block) { public Chunk getChunkAt(Block block) {