[Enhancement] Don't apply stat if it's going to be 0
Closed this issue · 0 comments
goflishMC commented
In this example I set dexterity to have 100% chance to roll, but I set the min/max to be 0.
This file allows chestplate, leggings and boots to drop, but I only want chestplate to get the dexterity stat, so in the material bonus section i set it to give chestplates 8 dexterity.
The issue is if boots or helmets get rolled for this drop it will show a dex bonus of 0.
I used to just set -100% in the material modifier stats I didn't want to show up on the item, but I think something has changed because it doesn't get rid of it anymore setting it to -100% like that.