3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

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) { 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