mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 11:25:11 -06:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: GregF <gregf36665@gmail.com>
This commit is contained in:
parent
74d563837c
commit
d65eee6e8c
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue