geforkt von Mirrors/Paper
replace spaces in world key (touches #5397)
Dieser Commit ist enthalten in:
Ursprung
43a6e9e19c
Commit
eac81f6960
@ -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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren