Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-4681: Note about additional world creation on STARTUP
Dieser Commit ist enthalten in:
Ursprung
812f66aa99
Commit
7c395d429c
@ -874,6 +874,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public World createWorld(WorldCreator creator) {
|
public World createWorld(WorldCreator creator) {
|
||||||
|
Preconditions.checkState(!console.worldServer.isEmpty(), "Cannot create additional worlds on STARTUP");
|
||||||
Validate.notNull(creator, "Creator may not be null");
|
Validate.notNull(creator, "Creator may not be null");
|
||||||
|
|
||||||
String name = creator.name();
|
String name = creator.name();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren