diff options
author | md_5 <git@md-5.net> | 2018-07-15 19:52:26 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-15 19:52:26 +1000 |
commit | 60185a56161468420f23e9c7b0694381546e67b7 (patch) | |
tree | 4a11bd5462fe6475f7b91c15eaac15fcf48f9903 /src/main | |
parent | 764b81ced2a236ddbdafafc6f393027b5541812c (diff) | |
download | craftbukkit-60185a56161468420f23e9c7b0694381546e67b7.tar craftbukkit-60185a56161468420f23e9c7b0694381546e67b7.tar.gz craftbukkit-60185a56161468420f23e9c7b0694381546e67b7.tar.lz craftbukkit-60185a56161468420f23e9c7b0694381546e67b7.tar.xz craftbukkit-60185a56161468420f23e9c7b0694381546e67b7.zip |
Validate world in CraftServer.createChunkData
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index db82051c..91c239a1 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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); } |