This commit is contained in:
dordsor21 2021-09-15 13:19:25 +01:00
parent 61e5d9f1b6
commit b2b8598b5b
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ public class BukkitRegionManager extends RegionManager {
final boolean ignoreAugment, final boolean ignoreAugment,
final @Nullable Runnable whenDone final @Nullable Runnable whenDone
) { ) {
final BukkitWorld world = new BukkitWorld((World) pos1.getWorld()); final BukkitWorld world = (BukkitWorld) worldUtil.getWeWorld(pos1.getWorldName());
final int p1x = pos1.getX(); final int p1x = pos1.getX();
final int p1z = pos1.getZ(); final int p1z = pos1.getZ();

View File

@ -61,7 +61,7 @@ public abstract class RegionManager {
private static final Logger LOGGER = LogManager.getLogger("PlotSquared/" + RegionManager.class.getSimpleName()); private static final Logger LOGGER = LogManager.getLogger("PlotSquared/" + RegionManager.class.getSimpleName());
public static RegionManager manager = null; public static RegionManager manager = null;
private final WorldUtil worldUtil; protected final WorldUtil worldUtil;
private final GlobalBlockQueue blockQueue; private final GlobalBlockQueue blockQueue;
private final ProgressSubscriberFactory subscriberFactory; private final ProgressSubscriberFactory subscriberFactory;