Validate world in CraftServer.createChunkData

This commit is contained in:
md_5 2018-07-15 19:52:26 +10:00
parent 764b81ced2
commit 60185a5616

View File

@ -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);
}