Parcourir la source

fabledskyblock package rename

mastercake10 il y a 1 an
Parent
commit
16781bcfd0
2 fichiers modifiés avec 5 ajouts et 4 suppressions
  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());
 		}
 	}