Darkhax-Minecraft / Bookshelf

A library mod which adds additional code support beyond what is provided by Forge.
GNU Lesser General Public License v2.1
142 stars 39 forks source link

[Bug] Possible crash pertaining to Bookshelf #224

Closed dylanjkl closed 7 months ago

dylanjkl commented 7 months ago

Crash occurs whenever a player receives the poison status effect. There is references to bookshelf early in the stack-trace however I am unsure if it's directly correlated.

xf:fml:forge:potion,pl:mixin:APP:bookshelf.common.mixins.json:accessors.effect.AccessorMobEffectInstance from mod bookshelf

Posting here just in-case.

crash-2024-01-28-client.txt

Darkhax commented 7 months ago

Hello, unfortunately this is not related to Bookshelf. The mixin referenced there is an accessor that is only being used in a read-only context. This crash is because the game is trying to damage the player with forge:poison damage, but the correct ID is minecraft:poison. The log file has no indication of what mod is using the wrong ID here.