mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-22 10:15:54 +01:00
Merge branch 'development'
This commit is contained in:
commit
17aeec7d75
10
pom.xml
10
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>skyblock</artifactId>
|
||||
<version>2.3.30</version>
|
||||
<version>2.4.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
@ -76,8 +76,7 @@
|
||||
</goals>
|
||||
|
||||
<configuration>
|
||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||
</dependencyReducedPomLocation>
|
||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
||||
<shadedArtifactAttached>false</shadedArtifactAttached>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
@ -194,7 +193,8 @@
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot</artifactId>
|
||||
<version>1.17</version>
|
||||
<version>1.18</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
@ -207,7 +207,7 @@
|
||||
<dependency>
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>SongodaCore</artifactId>
|
||||
<version>LATEST</version>
|
||||
<version>2.6.5</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
@ -129,7 +129,7 @@ public class SkyBlock extends SongodaPlugin {
|
||||
|
||||
@Override
|
||||
public void onPluginEnable() {
|
||||
if (ServerVersion.isServerVersionAbove(ServerVersion.V1_17) || ServerVersion.isServerVersionBelow(ServerVersion.V1_8)) {
|
||||
if (ServerVersion.isServerVersionAbove(ServerVersion.V1_18) || ServerVersion.isServerVersionBelow(ServerVersion.V1_8)) {
|
||||
this.getLogger().warning("This Minecraft version is not officially supported.");
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,6 @@ import com.songoda.skyblock.island.IslandManager;
|
||||
import com.songoda.skyblock.island.IslandWorld;
|
||||
import com.songoda.skyblock.message.MessageManager;
|
||||
import com.songoda.skyblock.sound.SoundManager;
|
||||
import com.songoda.core.utils.NumberUtils;
|
||||
import com.songoda.skyblock.utils.NumberUtil;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
@ -88,13 +87,8 @@ public class GuiBiome extends Gui {
|
||||
}
|
||||
|
||||
List<BiomeIcon> biomes = new ArrayList<>();
|
||||
for(CompatibleBiome biome : CompatibleBiome.getCompatibleBiomes()) {
|
||||
if(biome.isCompatible()){
|
||||
try { // Hotfix for core misconfiguration
|
||||
biome.getBiome();
|
||||
} catch (IllegalArgumentException ex) {
|
||||
continue;
|
||||
}
|
||||
for (CompatibleBiome biome : CompatibleBiome.getCompatibleBiomes()) {
|
||||
if (biome.isCompatible()) {
|
||||
BiomeIcon icon = new BiomeIcon(plugin, biome);
|
||||
if (icon.biome != null &&
|
||||
(!icon.permission ||
|
||||
|
@ -896,7 +896,7 @@ public class IslandManager {
|
||||
|
||||
public void loadIslandAtLocation(Location location) {
|
||||
FileManager fileManager = plugin.getFileManager();
|
||||
File configFile = new File(plugin.getDataFolder().toString() + "/island-data");
|
||||
File configFile = new File(plugin.getDataFolder(), "island-data");
|
||||
|
||||
if (!configFile.exists()) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user