Merge branch 'development'

This commit is contained in:
Christian Koop 2022-07-30 21:28:39 +02:00
commit fedb18621c
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.songoda</groupId>
<artifactId>skyblock</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
<packaging>jar</packaging>
<properties>
@ -200,7 +200,7 @@
<dependency>
<groupId>com.songoda</groupId>
<artifactId>SongodaCore</artifactId>
<version>2.6.12</version>
<version>2.6.14-DEV</version>
<scope>compile</scope>
</dependency>

View File

@ -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.");
}

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());
}
}