GregTechCEu Modern

GregTechCEu Modern

6M Downloads

[Bug] - Checking the recipe on an empty slot any GT block causes the game to crash

TBiscuit1 opened this issue ยท 2 comments

commented

GregTech CEu Version

1.20.1-1.0.20.b

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Expected Behavior

To do nothing, like any other slots

Actual Behavior

JEI tries to read the recipe of the item "minecraft:air" prompting a crash as it isn't an actual item that can be viewed

Steps to Reproduce

1 - Place a GT block that has slots (like a crate)
2 - Press U/R (whatever button to check uses/recipes) on an empty slot
3 - Crash!

Additional Information

As explained above, JEI tries to get the recipes/uses of an air item, which is not possible and unintended, causing the game to crash

I was playing with other mods, but due to the nature of the crash, there is no reason for them to cause issue reproducing the bug
Crash Report :
crash-2024-01-12_11.11.29-client.txt

commented

duplicate of #733.

commented

Updated, the crash happens on any machine/block from GT