Update IslandManager.java

This commit is contained in:
Efe Kurban 2022-03-03 21:46:23 +03:00 committed by GitHub
parent 17aeec7d75
commit 76e1f26a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1304,7 +1304,7 @@ public class IslandManager {
OfflinePlayer offlinePlayerData = new OfflinePlayer(offlinePlayer.getUniqueId());
loadIsland(offlinePlayer);
if (offlinePlayerData.getOwner() != null && islandStorage.containsKey(offlinePlayer.getUniqueId())) {
if (offlinePlayerData.getOwner() != null && islandStorage.containsKey(offlinePlayerData.getOwner())) {
return islandStorage.get(offlinePlayerData.getOwner());
}
}