Skip to content

Commit

Permalink
Update IridiumSkyblock.java
Browse files Browse the repository at this point in the history
plugin would incorrectly report invalid generator type for VOID

because i didnt add the case for void, so it would default
  • Loading branch information
sh0inx committed Jul 21, 2024
1 parent ee13fe2 commit 099bf9a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ public void onLoad() {
this.chunkGenerator = null;
break;
}
case VOID: {
this.chunkGenerator = new VoidGenerator();
break;
}
default: {
getLogger().warning("Invalid generator type [" + IridiumSkyblock.getInstance().getConfiguration().generatorType + "], valid types are " + Arrays.toString(GeneratorType.values()));
getLogger().info("Generator Type = " + GeneratorType.VOID);
Expand Down

0 comments on commit 099bf9a

Please sign in to comment.