OroArmorModding / Netherite-Plus-Mod

Adds new Netherite features to Minecraft
https://oroarmor.com/mods/netherite_plus
MIT License
44 stars 6 forks source link

Problem With Anvil Config #115

Open TheMysteriousN opened 3 years ago

TheMysteriousN commented 3 years ago

Describe the bug Any integer below .5 auto-sets the cost to 75% of the total instead of the respective number in the config file.

To Reproduce Set the config for the Anvil cost to .2, as that was what we tested with, then get a really any book and item (I used a prot 4 depthstrider 3) Expected behavior The cost will go from 11 -> 8 (75% reduction) with the anvil instead of the expected 2 (80% reduction)

Screenshots Screenshot (3) Screenshot (4)