mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Don't attempt to check unloaded world refs.
This commit is contained in:
parent
8022d8e911
commit
3fd661c513
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user