瀏覽代碼

fixed SuperiorSkyblock hook

mastercake10 5 年之前
父節點
當前提交
0550c71b6e
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 1 1
      pom.xml
  2. 1 2
      src/xyz/spaceio/hooks/HookSuperiorSkyblock.java

+ 1 - 1
pom.xml

@@ -107,7 +107,7 @@
 		<dependency>
 			<groupId>com.bgsoftware</groupId>
 			<artifactId>SuperiorSkyblock</artifactId>
-			<version>0.0.7-SNAPSHOT</version>
+			<version>0.0.15-SNAPSHOT</version>
 			<scope>provided</scope>
 		</dependency>
 		<!-- PlotSquared -->

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

@@ -35,8 +35,7 @@ public class HookSuperiorSkyblock implements SkyblockAPIHook {
 
 	@Override
 	public String[] getSkyBlockWorldNames() {
-		// took from source code of SkyBlock.jar
-		return new String[] {SuperiorSkyblockAPI.getSuperiorSkyblock().getGrid().getSpawnIsland().getCenter().getWorld().getName()};
+		return new String[] {SuperiorSkyblockAPI.getIslandsWorld().getName()};
 	}
 
 }