mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 18:55:30 +01:00
Fix bug when checking the environment
This commit is contained in:
parent
63219b0cd6
commit
b6d92c1eb5
@ -27,7 +27,9 @@ public class VoidGenerator extends ChunkGenerator {
|
||||
final ConfigurationSection worldSection = configLoad.getConfigurationSection("Island.World");
|
||||
|
||||
for (IslandWorld worldList : IslandWorld.values()) {
|
||||
if (world.getEnvironment() == worldList.getUncheckedEnvironment()) {
|
||||
if (world.getEnvironment() == World.Environment.NETHER
|
||||
|| world.getEnvironment() == World.Environment.NORMAL
|
||||
|| world.getEnvironment() == World.Environment.THE_END) {
|
||||
|
||||
ConfigurationSection section = worldSection.getConfigurationSection(worldList.name());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user