소스 검색

fabledskyblock package rename

mastercake10 11 달 전
부모
커밋
16781bcfd0
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      pom.xml
  2. 3 2
      src/main/java/xyz/spaceio/hooks/HookFabledSkyblock.java

+ 2 - 2
pom.xml

@@ -4,7 +4,7 @@
 	<modelVersion>4.0.0</modelVersion>
 	<groupId>xyz.spaceio</groupId>
 	<artifactId>CustomOreGen</artifactId>
-	<version>1.3.38-SNAPSHOT</version>
+	<version>1.3.39-SNAPSHOT</version>
 	<repositories>
 		<!-- Spigot repository -->
 		<repository>
@@ -136,7 +136,7 @@
 		<dependency>
 			<groupId>com.songoda</groupId>
 			<artifactId>fabledskyblock</artifactId>
-			<version>2.5.2</version>
+			<version>3.0.0-b7-SNAPSHOT</version>
 			<scope>provided</scope>
 		</dependency>
 		<!-- Placeholder API -->

+ 3 - 2
src/main/java/xyz/spaceio/hooks/HookFabledSkyblock.java

@@ -3,13 +3,13 @@ package xyz.spaceio.hooks;
 import java.util.Optional;
 import java.util.UUID;
 
+import com.craftaro.skyblock.SkyBlock;
 import org.bukkit.Bukkit;
 import org.bukkit.Location;
 import org.bukkit.OfflinePlayer;
 import org.bukkit.block.Block;
 
-import com.songoda.skyblock.SkyBlock;
-import com.songoda.skyblock.island.Island;
+import com.craftaro.skyblock.island.Island;
 
 
 public class HookFabledSkyblock implements SkyblockAPIHook{
@@ -63,6 +63,7 @@ public class HookFabledSkyblock implements SkyblockAPIHook{
 	@Override
 	public void sendBlockAcknowledge(Block block) {
 		if(block != null && api.getIslandManager().getIslandAtLocation(block.getLocation()) != null) {
+			System.out.println(block.getType());
 			api.getLevellingManager().updateLevel(api.getIslandManager().getIslandAtLocation(block.getLocation()), block.getLocation());
 		}
 	}