mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Change chunk loading method.
Behavior of loadChunk changed a lot for the worse in CB 1.14.
This commit is contained in:
parent
3a6b3dc75c
commit
3df2410254
@ -305,9 +305,7 @@ public class BukkitWorld extends AbstractWorld {
|
|||||||
public void checkLoadedChunk(BlockVector3 pt) {
|
public void checkLoadedChunk(BlockVector3 pt) {
|
||||||
World world = getWorld();
|
World world = getWorld();
|
||||||
|
|
||||||
if (!world.isChunkLoaded(pt.getBlockX() >> 4, pt.getBlockZ() >> 4)) {
|
world.getChunkAt(pt.getBlockX() >> 4, pt.getBlockZ() >> 4);
|
||||||
world.loadChunk(pt.getBlockX() >> 4, pt.getBlockZ() >> 4);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user