13
0
geforkt von Mirrors/Paper

SPIGOT-7911: Fix Location#isWorldLoaded() for re-loaded worlds

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2024-10-06 18:13:21 +11:00
Ursprung 5f8dbb00f6
Commit 68492a4f7e

Datei anzeigen

@ -82,7 +82,7 @@ public class Location implements Cloneable, ConfigurationSerializable {
}
World world = this.world.get();
return world != null && Bukkit.getWorld(world.getUID()) != null;
return world != null && world.equals(Bukkit.getWorld(world.getUID()));
}
/**