From 099bf9aa01a7c3dad54039f20197f9e28ddc4200 Mon Sep 17 00:00:00 2001 From: Shyanne Date: Sun, 21 Jul 2024 13:37:30 -0400 Subject: [PATCH] Update IridiumSkyblock.java plugin would incorrectly report invalid generator type for VOID because i didnt add the case for void, so it would default --- .../java/com/iridium/iridiumskyblock/IridiumSkyblock.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/iridium/iridiumskyblock/IridiumSkyblock.java b/src/main/java/com/iridium/iridiumskyblock/IridiumSkyblock.java index 5ba477fab..028e32287 100644 --- a/src/main/java/com/iridium/iridiumskyblock/IridiumSkyblock.java +++ b/src/main/java/com/iridium/iridiumskyblock/IridiumSkyblock.java @@ -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);