SPIGOT-1823: Use fast chunk lookup in CraftWorld also
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user