Change chunk loading method.

Behavior of loadChunk changed a lot for the worse in CB 1.14.
This commit is contained in:
wizjany 2019-06-02 21:50:41 -04:00
parent 3a6b3dc75c
commit 3df2410254

View File

@ -305,9 +305,7 @@ public class BukkitWorld extends AbstractWorld {
public void checkLoadedChunk(BlockVector3 pt) {
World world = getWorld();
if (!world.isChunkLoaded(pt.getBlockX() >> 4, pt.getBlockZ() >> 4)) {
world.loadChunk(pt.getBlockX() >> 4, pt.getBlockZ() >> 4);
}
world.getChunkAt(pt.getBlockX() >> 4, pt.getBlockZ() >> 4);
}
@Override