MasterCake 5 years ago
parent
commit
105830bfda
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pom.xml
  2. 1 1
      src/xyz/spaceio/hooks/HookSuperiorSkyblock.java

+ 1 - 1
pom.xml

@@ -4,7 +4,7 @@
 	<modelVersion>4.0.0</modelVersion>
 	<groupId>xyz.spaceio</groupId>
 	<artifactId>CustomOreGen</artifactId>
-	<version>1.3.18-SNAPSHOT</version>
+	<version>1.3.19-SNAPSHOT</version>
 	<repositories>
 		<!-- Spigot repository -->
 		<repository>

+ 1 - 1
src/xyz/spaceio/hooks/HookSuperiorSkyblock.java

@@ -20,7 +20,7 @@ public class HookSuperiorSkyblock implements SkyblockAPIHook {
 		if(SuperiorSkyblockAPI.getPlayer(uuid) == null || SuperiorSkyblockAPI.getPlayer(uuid).getIsland() == null) {
 			return 0;
 		}else {
-			return 	SuperiorSkyblockAPI.getPlayer(uuid).getIsland().getIslandLevel();
+			return 	SuperiorSkyblockAPI.getPlayer(uuid).getIsland().getIslandLevelAsBigDecimal().intValue();
 		}
 	}