mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 12:02:49 +01:00
Validate world in CraftServer.createChunkData
This commit is contained in:
parent
764b81ced2
commit
60185a5616
1 changed files with 1 additions and 0 deletions
|
@ -1684,6 +1684,7 @@ public final class CraftServer implements Server {
|
|||
|
||||
@Override
|
||||
public ChunkGenerator.ChunkData createChunkData(World world) {
|
||||
Validate.notNull(world, "World cannot be null");
|
||||
return new CraftChunkData(world);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue