mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Don't force load
didn't realize this loads the chunk, I just need to delay unloading until the operation is complete
This commit is contained in:
@ -64,17 +64,17 @@ public class BukkitGetBlocks_1_14 extends CharGetBlocks {
|
||||
this.world = (CraftWorld) world;
|
||||
this.X = X;
|
||||
this.Z = Z;
|
||||
if (forceLoad) {
|
||||
this.world.getHandle().setForceLoaded(X, Z, this.forceLoad = true);
|
||||
}
|
||||
// if (forceLoad) {
|
||||
// this.world.getHandle().setForceLoaded(X, Z, this.forceLoad = true);
|
||||
// }
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() {
|
||||
if (forceLoad) {
|
||||
this.world.getHandle().setForceLoaded(X, Z, forceLoad = false);
|
||||
}
|
||||
}
|
||||
// @Override
|
||||
// protected void finalize() {
|
||||
// if (forceLoad) {
|
||||
// this.world.getHandle().setForceLoaded(X, Z, forceLoad = false);
|
||||
// }
|
||||
// }
|
||||
|
||||
@Override
|
||||
public BiomeType getBiomeType(int x, int z) {
|
||||
|
Reference in New Issue
Block a user