Skip to content

Commit

Permalink
Update PortalStorageHelper.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorinwasher committed Feb 23, 2024
1 parent 61e66d1 commit 67f4895
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private PortalStorageHelper() {
}
World world = Bukkit.getWorld(UUID.fromString(resultSet.getString("world")));
// Avoid the use of unecessary queries if server is not this server
if (world == null && serverName != null) {
if (world == null && serverName == null) {
Stargate.log(Level.FINE, "World does not exist for portal: " + networkName + ":" + name);
throw new PortalLoadException(PortalLoadException.FailureType.WORLD);
}
Expand Down

0 comments on commit 67f4895

Please sign in to comment.