Skip to content

Commit

Permalink
Fixed incorrect lookup of islands within the SWarpCategory object
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerBenGera committed Oct 1, 2022
1 parent ac21454 commit e9d40c6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ public SWarpCategory(UUID islandUUID, String name, int slot) {

@Override
public Island getIsland() {
return cachedIsland == null ? (cachedIsland = plugin.getGrid().getIsland(islandUUID)) : cachedIsland;
return cachedIsland == null ? (cachedIsland = plugin.getGrid().getIslandByUUID(islandUUID)) : cachedIsland;
}

@Override
Expand Down

0 comments on commit e9d40c6

Please sign in to comment.