diff --git a/Spigot-API-Patches/Implement-Keyed-on-World.patch b/Spigot-API-Patches/Implement-Keyed-on-World.patch index 0942b80ee4..3f635ffb2b 100644 --- a/Spigot-API-Patches/Implement-Keyed-on-World.patch +++ b/Spigot-API-Patches/Implement-Keyed-on-World.patch @@ -98,7 +98,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - throw new IllegalArgumentException("World name cannot be null"); - } + // Paper start -+ this(name, NamespacedKey.minecraft(name.toLowerCase(java.util.Locale.ENGLISH))); ++ this(name, NamespacedKey.minecraft(name.toLowerCase(java.util.Locale.ENGLISH).replace(" ", "_"))); + } - this.name = name;