浏览代码

update api

MasterCake 4 年之前
父节点
当前提交
dc9266d34b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pom.xml
  2. 1 1
      src/main/java/xyz/spaceio/hooks/HookSuperiorSkyblock.java

+ 1 - 1
pom.xml

@@ -110,7 +110,7 @@
 		<dependency>
 			<groupId>com.bgsoftware</groupId>
 			<artifactId>SuperiorSkyblock</artifactId>
-			<version>0.1.2-20190711.010640-1</version>
+			<version>1.4.1-SNAPSHOT</version>
 			<scope>provided</scope>
 		</dependency>
 		<!-- SpaceSkyblock -->

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

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