mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-25 08:51:33 +01:00
Re-enabled biome update on island creation
This commit is contained in:
parent
a434837aa1
commit
7cff7893b8
@ -282,14 +282,15 @@ public class IslandManager {
|
||||
}
|
||||
Biome biome = cBiome.getBiome();
|
||||
|
||||
/*Bukkit.getServer().getScheduler().runTaskLater(skyblock, () -> {
|
||||
skyblock.getBiomeManager().setBiome(island, biome, null);
|
||||
if (structure.getCommands() != null) {
|
||||
for (String commandList : structure.getCommands()) {
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getServer().getConsoleSender(), commandList.replace("%player", player.getName()));
|
||||
Bukkit.getServer().getScheduler().runTaskLater(skyblock, () -> {
|
||||
skyblock.getBiomeManager().setBiome(island, biome, () -> {
|
||||
if (structure.getCommands() != null) {
|
||||
for (String commandList : structure.getCommands()) {
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getServer().getConsoleSender(), commandList.replace("%player", player.getName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}, 20L);*/
|
||||
});
|
||||
}, 20L);
|
||||
|
||||
// Recalculate island level after 5 seconds
|
||||
if (configLoad.getBoolean("Island.Levelling.ScanAutomatically"))
|
||||
|
Loading…
Reference in New Issue
Block a user