diff --git a/src/main/java/world/bentobox/bentobox/managers/island/IslandCache.java b/src/main/java/world/bentobox/bentobox/managers/island/IslandCache.java index 3feff74d1..2af86af37 100644 --- a/src/main/java/world/bentobox/bentobox/managers/island/IslandCache.java +++ b/src/main/java/world/bentobox/bentobox/managers/island/IslandCache.java @@ -313,7 +313,8 @@ public boolean hasIsland(@NonNull World world, @NonNull UUID uuid) { if (!islandsByUUID.containsKey(uuid)) { return false; } - return this.islandsByUUID.get(uuid).stream().anyMatch(i -> uuid.equals(i.getOwner())); + return this.islandsByUUID.get(uuid).stream().filter(i -> world.equals(i.getWorld())) + .anyMatch(i -> uuid.equals(i.getOwner())); } /**