Grinder crash when trying to insert the same tick the grinder was placed
Technici4n opened this issue ยท 0 comments
Describe the bug
When the grinder is placed, trying to insert items in it at the same tick crashes the game with a NPE.
Steps to Reproduce
Build a Modern Industrialization (you need the master version, not the 0.1.0 on curse) machine, have it process one recipe, activate item auto-extract and place a Grinder on the output side. The canInsert
call on the grinder crashes the game.
Screenshots
https://streamable.com/7u854o
Then at this point IntelliJ caught the following exception:
Environment (please complete the following information with the version):
- Minecraft: 1.16.2
- Mod Loader: fabric
Logs
https://gist.github.com/Technici4n/ce6c6b00767e049001c8ae35ffbab252
Additional context
It only happens when the machine tries to auto-extract items into the grinder the tick it was placed, maybe something isn't loaded correctly in the grinder?