Queerbric / Inspecio

A Minecraft mod which adds more tooltip components to items.
https://modrinth.com/mod/inspecio
GNU Lesser General Public License v3.0
102 stars 25 forks source link

Status effect tooltips on food are not disabled by config option ("effects/food") #110

Open unilock opened 1 year ago

unilock commented 1 year ago

Regardless of what the "effects/food" config option is set to, status effects are always displayed on food items (Golden Apples, Poisonous Potatoes, etc.).

https://github.com/Queerbric/Inspecio/blob/84cf99cf615b2476887ae5e9f7cd132638a4f4e9/src/main/java/io/github/queerbric/inspecio/mixin/ItemStackMixin.java#L124

I'm guessing this is supposed to be config.getEffectsConfig().hasFood()?

CodeGiver01 commented 1 year ago

yea i also have this problem, it doesn't go