Botania

Botania

133M Downloads

Crashes upon entering the Nether

QianFuv opened this issue · 5 comments

commented

Mod Loader

Forge

Minecraft Version

1.19.2

Botania version

1.19.2-440

Modloader version

43.3.13

Modpack info

No response

The latest.log file

https://mclo.gs/f1aQrND

Issue description

Crashes upon entering the Nether

Steps to reproduce

It happens suddenly, and it can't be reproduced

Other information

No response

commented

The code this crashes in should not actually be able to crash, unless some other mod changed how a particular player inventory lookup works.

You will need to provide some kind of reproduction case, as we don't have the time to sift through unclear mod compatibility issues on older versions.

commented

Your response mentioned that the cause of this crash was due to other mods changing the way players search for inventory. In order to locate the problem more quickly, could you provide some known mods or related code that have changed the way players search for inventory?

commented

If I knew, I would have mentioned. I can only tell that the method it crashes in shouldn't be able to crash in the way it did, unless PlayerHelper.getFirstHeldItemClass(player, AssemblyHaloItem.class) returned a non-empty stack that is not actually of an item that extends the AssemblyHaloItem class. It has no way of doing that, unless some other mod broke that piece of vanilla logic.
The other (less likely) option is that some mod messed with the way NBT data is extracted from item stack objects, causing the stack to become empty, or worse – change its item type at a time it should absolutely never change.

commented

Thank you for your reply! I will continue to pay attention to this issue, as this crash is the first time I have encountered it in a year of developing modpack. If similar situations continue to occur in the future, I will continue to collect relevant information.

commented

Will close this for now. Feel free to reopen if it happens again and you have more information.