From dacee77a67adfe479ab74c9968363e5db8964c4a Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 12 Jun 2023 20:35:38 +1000 Subject: [PATCH] Fix another issue from previous commit By: md_5 --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index a4f291994b..d36443ddea 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -1202,7 +1202,6 @@ public final class CraftServer implements Server { @Override public World getWorld(String name) { Preconditions.checkArgument(name != null, "name cannot be null"); - Preconditions.checkArgument(!name.isBlank(), "name cannot be empty"); return worlds.get(name.toLowerCase(java.util.Locale.ENGLISH)); }