diff --git a/pom.xml b/pom.xml
index e5a28951..3e2472aa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.songoda
skyblock
- 2.4.1
+ 2.4.2
jar
@@ -200,7 +200,7 @@
com.songoda
SongodaCore
- 2.6.12
+ 2.6.14-DEV
compile
diff --git a/src/main/java/com/songoda/skyblock/SkyBlock.java b/src/main/java/com/songoda/skyblock/SkyBlock.java
index c12e7706..2107451f 100644
--- a/src/main/java/com/songoda/skyblock/SkyBlock.java
+++ b/src/main/java/com/songoda/skyblock/SkyBlock.java
@@ -129,7 +129,7 @@ public class SkyBlock extends SongodaPlugin {
@Override
public void onPluginEnable() {
- if (ServerVersion.isServerVersionAbove(ServerVersion.V1_18) || ServerVersion.isServerVersionBelow(ServerVersion.V1_8)) {
+ if (ServerVersion.isServerVersionAbove(ServerVersion.V1_19) || ServerVersion.isServerVersionBelow(ServerVersion.V1_8)) {
this.getLogger().warning("This Minecraft version is not officially supported.");
}
diff --git a/src/main/java/com/songoda/skyblock/island/IslandManager.java b/src/main/java/com/songoda/skyblock/island/IslandManager.java
index 4658b77a..d5a8b87d 100644
--- a/src/main/java/com/songoda/skyblock/island/IslandManager.java
+++ b/src/main/java/com/songoda/skyblock/island/IslandManager.java
@@ -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());
}
}