Fix grass being buried under tiles
This commit is contained in:
parent
9d049ec3aa
commit
dfcc59d218
@ -195,16 +195,16 @@ class ServerChunk(world: ServerWorld, pos: ChunkPos) : Chunk<ServerWorld, Server
|
|||||||
ChunkState.FULL -> {
|
ChunkState.FULL -> {
|
||||||
CompletableFuture.runAsync(Runnable { finalizeCells() }, Starbound.EXECUTOR).await()
|
CompletableFuture.runAsync(Runnable { finalizeCells() }, Starbound.EXECUTOR).await()
|
||||||
|
|
||||||
// skip if we have no layout
|
|
||||||
if (world.template.worldLayout != null) {
|
|
||||||
placeGrass()
|
|
||||||
}
|
|
||||||
|
|
||||||
// skip if we have no layout, or it is a floating dungeon world
|
// skip if we have no layout, or it is a floating dungeon world
|
||||||
if (world.template.worldLayout != null && world.template.worldParameters !is FloatingDungeonWorldParameters) {
|
if (world.template.worldLayout != null && world.template.worldParameters !is FloatingDungeonWorldParameters) {
|
||||||
placeBiomeItems()
|
placeBiomeItems()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// skip if we have no layout
|
||||||
|
if (world.template.worldLayout != null) {
|
||||||
|
placeGrass()
|
||||||
|
}
|
||||||
|
|
||||||
signalChunkContentsUpdated()
|
signalChunkContentsUpdated()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user