From 5ae70743b1276b16f73ce5a96d2d9a71eff7094d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Sat, 16 May 2020 21:29:44 +0200 Subject: [PATCH] Always set the generator --- .../com/plotsquared/bukkit/managers/MultiverseWorldManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java b/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java index b672947be..e8cb4cf1e 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java @@ -43,7 +43,7 @@ public class MultiverseWorldManager extends BukkitWorldManager { // Then we send the console command final StringBuilder commandBuilder = new StringBuilder("mv create ") .append(worldName).append(" normal"); - if (generator != null && !generator.isEmpty()) { + if (generator != null) { commandBuilder.append(" -g ").append(generator); } Bukkit.getServer().dispatchCommand(Bukkit.getServer().getConsoleSender(), commandBuilder.toString());