Sandwichable

Sandwichable

1M Downloads

Eating spread causes crash with sandwichable-1.1.1-snapshot__1.16-pre2

Danklor opened this issue ยท 4 comments

commented

Platform: MacOS 10.14.6, Java 14.0.1, MultiMC 0.6.11-1370
Minecraft 1.16.1, Fabric loader 0.9.0 build 204

fabric-api-0.15.0+build.379-1.16.1
sandwichable-1.1.1-snapshot__1.16-pre2

No other mods.

Full log attached.

Eat_spread_and_crash_full.txt

commented

This only seems to affect spread that has been obtained with the /give command and without adding a valid spreadType tag.

commented

Of course it was an NPE, this will be fixed.. although spreads are not supposed to be used as items, unless you want to put them in item frames/cutting boards for decoration.

commented

After some testing, this crash only happens in creative. The NPE was due to the player's hunger manager being null, not the spread type being null.

commented

This has been resolved in the latest commit, stay tuned for version 1.1.2's release!