diff --git a/src/main/java/com/gamingmesh/jobs/stuff/blockLoc.java b/src/main/java/com/gamingmesh/jobs/stuff/blockLoc.java index 041a5fc6..18bb9802 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/blockLoc.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/blockLoc.java @@ -91,6 +91,8 @@ public class blockLoc { } public Location getLocation() { + if (worldName == null && this.w == null) + return null; World w = this.w == null ? Bukkit.getWorld(worldName) : this.w; if (w == null) return null;