Don't attempt to check unloaded world refs.

Dieser Commit ist enthalten in:
wizjany 2019-06-08 11:25:36 -04:00
Ursprung 8022d8e911
Commit 3fd661c513

Datei anzeigen

@ -310,7 +310,9 @@ public class BukkitWorld extends AbstractWorld {
@Override
public boolean equals(Object other) {
if (other == null) {
if (worldRef.get() == null) {
return false;
} else if (other == null) {
return false;
} else if ((other instanceof BukkitWorld)) {
return ((BukkitWorld) other).getWorld().equals(getWorld());