[Bug] Large crates can't be opened
Nemirel345 opened this issue ยท 1 comments
Observed behaviour
After hitting all four locks with a hammer, and them turning gray, the data shows they still have integrity, making it impossible to open with a crowbar.
Manually modifying the data to set the integrity of all locks to 0 does allow the crowbar to open the crate.
Expected behaviour
Upon breaking all four locks, the crate should allow a crowbar to be used to open it.
Steps to reproduce
- Repeatedly hammer each lock to break them.
- Issue the "/data get" command to inspect the state of the crate
- Locate the "lock_integrity0" and up to 3
- Notice some locks still have non-zero integrity
- Issue the "/data merge" command to force the locks to 0 integrity
- Hit it one more time for good measure
- Notice you can now open with a crowbar
Crashlog
No response
Tetra version
5.5.1
mutil/mGui version
5.1.0
Forge version
43.3.0
Other mods
Minecraft 1.19.2
Afaik it's a desync issue where the client thinks you hit inside the interaction area but the server doesn't. Reworking how the client tells the server that the player is triggering a block interaction instead of the server determining that on it's own based on it's own information.