mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-27 12:14:04 +00:00
Don't attempt to check unloaded world refs.
This commit is contained in:
@@ -310,7 +310,9 @@ public class BukkitWorld extends AbstractWorld {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object other) {
|
public boolean equals(Object other) {
|
||||||
if (other == null) {
|
if (worldRef.get() == null) {
|
||||||
|
return false;
|
||||||
|
} else if (other == null) {
|
||||||
return false;
|
return false;
|
||||||
} else if ((other instanceof BukkitWorld)) {
|
} else if ((other instanceof BukkitWorld)) {
|
||||||
return ((BukkitWorld) other).getWorld().equals(getWorld());
|
return ((BukkitWorld) other).getWorld().equals(getWorld());
|
||||||
|
Reference in New Issue
Block a user