diff --git a/paper-api/src/main/java/org/bukkit/Location.java b/paper-api/src/main/java/org/bukkit/Location.java index 7c4db05147..734054f1e8 100644 --- a/paper-api/src/main/java/org/bukkit/Location.java +++ b/paper-api/src/main/java/org/bukkit/Location.java @@ -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())); } /**