mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00: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