mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-02-27 09:01:23 +01:00
Reverted experimental algorithms for 2.3.4-DEV1
This commit is contained in:
parent
cd15898858
commit
c099cab081
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>skyblock</artifactId>
|
||||
<version>2.3.3</version>
|
||||
<version>2.3.4-DEV1</version>
|
||||
<packaging>jar</packaging>
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
|
@ -110,11 +110,11 @@ public class SkyBlock extends SongodaPlugin {
|
||||
public void onPluginEnable() {
|
||||
|
||||
paper = false;
|
||||
try {
|
||||
/*try {
|
||||
Class.forName("com.destroystokyo.paper.PaperConfig");
|
||||
paper = true;
|
||||
Bukkit.getLogger().info("Enabling Paper hooks");
|
||||
} catch (ClassNotFoundException ignored) {}
|
||||
} catch (ClassNotFoundException ignored) {}*/
|
||||
|
||||
// Run Songoda Updater
|
||||
SongodaCore.registerPlugin(this, 17, CompatibleMaterial.GRASS_BLOCK);
|
||||
|
@ -27,7 +27,7 @@ public class BiomeManager {
|
||||
Location location = island.getLocation(IslandWorld.Normal, IslandEnvironment.Island);
|
||||
int radius = (int) Math.ceil(island.getRadius());
|
||||
|
||||
/*Bukkit.getScheduler().runTaskAsynchronously(skyblock, () -> {
|
||||
Bukkit.getScheduler().runTaskAsynchronously(skyblock, () -> {
|
||||
for (int x = location.getBlockX() - radius; x < location.getBlockX() + radius; x++) {
|
||||
for (int z = location.getBlockZ() - radius; z < location.getBlockZ() + radius; z++) {
|
||||
location.getWorld().setBiome(x, z, biome);
|
||||
@ -41,9 +41,9 @@ public class BiomeManager {
|
||||
}
|
||||
}
|
||||
});
|
||||
});*/
|
||||
});
|
||||
|
||||
Bukkit.getScheduler().runTaskAsynchronously(skyblock, () -> {
|
||||
/*Bukkit.getScheduler().runTaskAsynchronously(skyblock, () -> {
|
||||
long i = 0;
|
||||
for (int x = location.getBlockX() - radius; x < location.getBlockX() + radius; x += 16) {
|
||||
for (int z = location.getBlockZ() - radius; z < location.getBlockZ() + radius; z += 16) {
|
||||
@ -62,7 +62,7 @@ public class BiomeManager {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
});
|
||||
});*/
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user