geforkt von Mirrors/Paper
Fix another issue from previous commit
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
cad3899462
Commit
dacee77a67
@ -1202,7 +1202,6 @@ public final class CraftServer implements Server {
|
|||||||
@Override
|
@Override
|
||||||
public World getWorld(String name) {
|
public World getWorld(String name) {
|
||||||
Preconditions.checkArgument(name != null, "name cannot be null");
|
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));
|
return worlds.get(name.toLowerCase(java.util.Locale.ENGLISH));
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren