Amulet-Core
Amulet-Core copied to clipboard
[Bug report] The coordinates of the block in blocks_tick was mistakenly changed while saving without doing not make any changes to it
Describe the bug
The coordinates of the block in blocks_tick was mistakenly changed while saving without doing not make any changes to it.
This seems to be the code about decode block_ticks
, as you can see that it has been marked with TODO.
https://github.com/Amulet-Team/Amulet-Core/blob/ac72c15417c9bd86d9332d7a6488311ad1cb30ab/amulet/level/interfaces/chunk/anvil/anvil_1444.py#L159
To Reproduce Steps to reproduce the behavior:
- Load a save.
- Make some changes to the
block_entities
, but do not change the coordinates. - Save it and you can see that the coordinates of the block in the
blocks_tick
has been changed
Expected behavior
blocks_tick
should not have made any changes.
Desktop (please complete the following information):
- OS: Window 10 22H2 19045.2006
- Program Version: Amulet Core 1.9.21
Additional context Here is the region file and test command block is in chunk [0,0]. Google Drive