Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
Validate world in CraftServer.createChunkData
Dieser Commit ist enthalten in:
Ursprung
764b81ced2
Commit
60185a5616
@ -1684,6 +1684,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ChunkGenerator.ChunkData createChunkData(World world) {
|
public ChunkGenerator.ChunkData createChunkData(World world) {
|
||||||
|
Validate.notNull(world, "World cannot be null");
|
||||||
return new CraftChunkData(world);
|
return new CraftChunkData(world);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren