
Non-OP player crash when breaking and opening admin infinite storage barrel
Closed this issue ยท 3 comments
Environment:
- Minecraft Version: 1.20.1
- Forge Version: 47.4.0 (Server & Client)
Description:
When an OP places an infinite-storage barrel and a non-OP player breaks it, the barrel visually reverts to its limited acacia variant, its contents become invisible, and the non-OP client crashes upon opening it. The barrel itself remains in the world, and the issue recurs after re-logging.
Steps to Reproduce:
- As an OP, place any limited barrel.
- While still OP, add an Infinity upgrade (Admin) in the barrel.
- Log in with a non-OP account or de-op yourself.
- As a non-OP player:
a. Break the barrel (it reverts to the acacia model and contents visually disappear).
b. Attempt to open it.
c. Client crash.
Expected Behavior:
- The barrel should not change its model.
- Stored items should remain visible.
- Opening the barrel GUI should not crash the client.
Actual Behavior:
- The barrel reverts to the limited acacia model upon breaking.
- Contents become invisible (though still retrievable by left-click).
- The client crashes when opening the barrel GUI.
Could you share the crash log? Anything in the server log when the barrel is broken / gui open?
Yes,
Here is the crash log,
crash-2025-04-24_23.06.48-client.txt
And nothing appears in the server logs except saying i got disconnected
ok, I was able to recreate as well and just pushed a new release that fixes the issue - the crash happens because client is in inconsistent state with server after the block break is cancelled server side so the fix makes sure that client gets properly updated after the canceled break.
New release should be approved on curseforge / modrinth shortly