geforkt von Mirrors/FastAsyncWorldEdit
Don't attempt to check unloaded world refs.
Dieser Commit ist enthalten in:
Ursprung
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());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren