From 90937d6322b035a39153e6a81a9ccf179b75d6b2 Mon Sep 17 00:00:00 2001 From: benwoo1110 <30431861+benwoo1110@users.noreply.github.com> Date: Sat, 26 Dec 2020 20:37:47 +0800 Subject: [PATCH] Whoops ;D --- .../onarandombox/MultiverseCore/commands/GeneratorCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/GeneratorCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands/GeneratorCommand.java index 995d6cc3..848b9f27 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/commands/GeneratorCommand.java +++ b/src/main/java/com/onarandombox/MultiverseCore/commands/GeneratorCommand.java @@ -42,8 +42,7 @@ public class GeneratorCommand extends MultiverseCommand { public static void showAvailableGenerator(@NotNull CommandSender sender) { List generators = Arrays.stream(Bukkit.getServer().getPluginManager().getPlugins()) .filter(Plugin::isEnabled) - //TODO ACF: Think what if they do not have a world named 'world' - .filter(plugin -> plugin.getDefaultWorldGenerator("idiot", "") != null) + .filter(plugin -> plugin.getDefaultWorldGenerator("world", "") != null) .map(plugin -> plugin.getDescription().getName()) .collect(Collectors.toList());