mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 20:30:28 +01:00
Validate world in CraftServer.createChunkData
This commit is contained in:
parent
764b81ced2
commit
60185a5616
@ -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…
Reference in New Issue
Block a user