mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
SPIGOT-1823: Use fast chunk lookup in CraftWorld also
By: md_5 <git@md-5.net>
This commit is contained in:
parent
099fbb9235
commit
3a052a7919
@ -122,7 +122,7 @@ public class CraftWorld implements World {
|
||||
}
|
||||
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user