Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: GregF <gregf36665@gmail.com>
This commit is contained in:
Player Name 2026-07-27 06:12:05 +00:00
parent 74d563837c
commit d65eee6e8c

View file

@ -18,8 +18,7 @@ open class FillChunkContract(var chunk: RegionChunk? = null) : ChunkSpecContract
for(x in 0 until 8)
for(y in 0 until 8)
if(replaceCondition.invoke(x,y,plane)) {
val chunk = getChunk(x,y,plane,dyn)
if (chunk==null) continue
val chunk = getChunk(x,y,plane,dyn) ?: continue
dyn.replaceChunk(
plane,
x,