setLight doesn't dirty the chunk if no section was found/created.
This commit is contained in:
parent
b5a8148609
commit
12e0ff3a22
@ -871,7 +871,6 @@ class WorldEditorDimension(object):
|
||||
sec = chunk.getSection(cy, create=True)
|
||||
if sec:
|
||||
array = getattr(sec, arrayName)
|
||||
assert array is not None
|
||||
if array is not None:
|
||||
array[y & 0xf, z & 0xf, x & 0xf] = value
|
||||
chunk.dirty = True
|
||||
|
Reference in New Issue
Block a user