All the Mods 3 - ATM3

All the Mods 3 - ATM3

3M Downloads

Feeding two apples one after the other crashes the game

IDoNotExist3 opened this issue ยท 7 comments

commented

Expected Behavior

What should happen is the fox should eat both apples when apples are right-clicked on it then I should go on my merry way.

Current Behavior

On right-clicking the second apple the game crashes to the launcher and I get the following error message:
The game crashed whilst unexpected error
Error: java.lang.ClassCastException: net.minecraft.item.ItemAir cannot be cast to net.minecraft.item.ItemFood

Possible Solution

Steps to Reproduce

  1. Tame mysticalLib fox
  2. Feed two apples one after the other
    3.Crash

Log

https://gist.github.com/IDoNotExist3/e78de14f145f301399044d324636dedb

Detailed Description

commented

Gunna want to post a crash report.

commented

"Gunna want to post a crash report."
Do you mean the log?

commented

You said it crashed, so crash report.

commented

-Client Only:
Go to the Twitch App, click the Mods tab at the top, select Minecraft, then Right Click the pack icon and select Open Folder.

Open the crash-reports folder, if there is one, then find the latest crash.txt
OR
Open the logs folder, find the latest.log.
Copy the full contents of the log. (Right Click > Select All, then Right Click > Copy)

Go to https://gist.github.com/ (Make a free account if needed)
Paste the log into the provided space. Click Create Public Gist, Copy the URL in the address bar and paste it into chat.

If it is a crash report you may use: https://pastebin.com/ or https://hatebin.com/
latest.log WILL NOT FIT on those, use Gist!

commented

https://gist.github.com/IDoNotExist3/e78de14f145f301399044d324636dedb
Sorry my bad I was thinking of the error message it gave after I crashed, I didn't know it made a crash report in the files!

commented

Looks like this crash has already been fixed by the mod MysticMods/MysticalWorld#33
You'll have to wait for a pack update to fix it unless you are in single player, if so you can attempt to update mystical world yourself, but it's usually not a good idea to randomly update mods so if you do backup first.

commented

Alright I'll wait, I'll try to not feed two many apples to my foxes. Sorry for the difficulty!