linus 6 rokov pred
rodič
commit
0e8211b29d
2 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 6 0
      pom.xml
  2. 1 0
      src/xyz/spaceio/customoregen/CustomOreGen.java

+ 6 - 0
pom.xml

@@ -6,15 +6,18 @@
 	<artifactId>CustomOreGen</artifactId>
 	<version>1.2.5-SNAPSHOT</version>
 	<repositories>
+		<!-- Spigot repository -->
 		<repository>
 			<id>spigot-repo</id>
 			<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
 		</repository>
+		<!-- Tastybento repository -->
 		<repository>
 			<id>bintray-tastybento-maven-repo</id>
 			<name>bintray</name>
 			<url>http://dl.bintray.com/tastybento/maven-repo</url>
 		</repository>
+		<!-- USkyBlock repository -->
 		<repository>
 			<id>uSkyBlock-mvn-repo</id>
 			<url>https://raw.github.com/rlf/uSkyBlock/mvn-repo/</url>
@@ -39,16 +42,19 @@
 			<version>1.13.1-R0.1-SNAPSHOT</version>
 			<scope>provided</scope>
 		</dependency>
+		<!-- ASkyBlock -->
 		<dependency>
 			<groupId>com.wasteofplastic</groupId>
 			<artifactId>askyblock</artifactId>
 			<version>3.0.9</version>
 		</dependency>
+		<!-- AcidIsland -->
 		<dependency>
 			<groupId>com.wasteofplastic</groupId>
 			<artifactId>acidisland</artifactId>
 			<version>3.0.9</version>
 		</dependency>
+		<!-- USkyblock -->
 		<dependency>
 			<groupId>com.github.rlf</groupId>
 			<artifactId>uSkyBlock-API</artifactId>

+ 1 - 0
src/xyz/spaceio/customoregen/CustomOreGen.java

@@ -85,6 +85,7 @@ public class CustomOreGen extends JavaPlugin {
 		if(Bukkit.getServer().getPluginManager().isPluginEnabled("uSkyBlock")) {
 			if(Bukkit.getPlayer(uuid) != null){
 				Player p = Bukkit.getPlayer(uuid);
+				us.talabrek.ultimateskyblock.api.g
 				return (int) Math.floor(us.talabrek.ultimateskyblock.uSkyBlock.getInstance().getIslandLevel(p));
 			}
 			// Note: The API for getIslandInfo seems to be broken