Fatal NPE on SymmetryHandler events when NPCs from another mod interact with vanilla chests
tylerscallan opened this issue ยท 1 comments
Describe the Bug
This series of calls can throw an NPE if non player entities trigger the event or something like that -- I figure you all will see it immediately.
Specifically here Mage Hands causes a fatal NPE.
Would recommend more null safety / graceful degradation / non fatal alerts (not sure if that's a mc thing etc, obvs you all know what to do) on all potentially global events.
Ty all -- Create is brilliantly clever and absolutely awesome.
Reproduction Steps
- use mage hands on a chest
- crash
Does not occur when mage hands are not used on a chest.
Expected Result
No NPE
Screenshots and Videos
No response
Crash Report or Log
Operating System
Windows 11
Mod Version
0.4.1
Minecraft Version
1.18.2
Other Mods
Mage Hands
Additional Context
No response