Change chunk loading method.

Behavior of loadChunk changed a lot for the worse in CB 1.14.
Dieser Commit ist enthalten in:
wizjany 2019-06-02 21:50:41 -04:00
Ursprung 3a6b3dc75c
Commit 3df2410254

Datei anzeigen

@ -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