mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 06:50:12 +01:00
SPIGOT-4681: Note about additional world creation on STARTUP
This commit is contained in:
parent
812f66aa99
commit
7c395d429c
1 changed files with 1 additions and 0 deletions
|
@ -874,6 +874,7 @@ public final class CraftServer implements Server {
|
|||
|
||||
@Override
|
||||
public World createWorld(WorldCreator creator) {
|
||||
Preconditions.checkState(!console.worldServer.isEmpty(), "Cannot create additional worlds on STARTUP");
|
||||
Validate.notNull(creator, "Creator may not be null");
|
||||
|
||||
String name = creator.name();
|
||||
|
|
Loading…
Reference in a new issue