Skip to content

Commit

Permalink
Fix ior operation
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlegiantJGC committed Jun 12, 2024
1 parent c526d0f commit 53bfff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amulet/level/formats/anvil_world/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def _calculate_light(
changed_ = False
changed_ |= chunk.misc.pop("block_light", None) is not None
changed_ |= chunk.misc.pop("sky_light", None) is not None
changed_ |= chunk.misc.pop("isLightOn", None)
changed_ |= bool(chunk.misc.pop("isLightOn", None))
if changed_:
changed = True
chunk.changed = True
Expand Down

0 comments on commit 53bfff7

Please sign in to comment.