Closed Lyfts closed 4 months ago
The sugar block correctly checks if the equipped item is null in the first part of its if statement but doesn't return, this then causes an npe when it calls player.getCurrentEquippedItem().getItem() later.
player.getCurrentEquippedItem().getItem()
It was reported here https://github.com/GTNewHorizons/Backhand/issues/19 but also happens without backhand installed.
Closes https://github.com/GTNewHorizons/Hodgepodge/issues/403
The sugar block correctly checks if the equipped item is null in the first part of its if statement but doesn't return, this then causes an npe when it calls
player.getCurrentEquippedItem().getItem()
later.It was reported here https://github.com/GTNewHorizons/Backhand/issues/19 but also happens without backhand installed.
Closes https://github.com/GTNewHorizons/Hodgepodge/issues/403