You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
When reading a world file using load_level and the calling .get_chunk(x,y), the returned Chunk object stores the signs that are in that chunk in the entity. The signs stored in block_entities do not have text, despite the in-game signs having text.
To Reproduce
from amulet import load_level
# A world with a sign
level = load_level("worlds/test")
# A chunk in the world with a sign
chunk = level.get_chunk(5,6)
for e in c.block_entities:
print(e.nbt)
After a bit of testing I have reproduced the issue in Java 1.16.
It was caused by an issue in our NBT library. I don't know how it was not spotted sooner.
Describe the bug
A clear and concise description of what the bug is.
When reading a world file using
load_level
and the calling.get_chunk(x,y)
, the returned Chunk object stores the signs that are in that chunk in the entity. The signs stored in block_entities do not have text, despite the in-game signs having text.To Reproduce
And output
Expected behavior
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: