Bug fixes. significant performance improvements, and better 1.20 support
Hello guys, again a long time without an update. I do have to disappoint that this update doesn't bring much in the way of content, and that's because I'm currently focusing that attention on rewriting the plugin. Once I get the rewritten version done, it'll work much better and have more exciting features, and I'll have an easier time maintaining it.
FEATURE custom tools can now be repaired using a vanilla anvil
FIXED the notorious oneshot bug, which was hard to find and fix because the bug was caused by certain regions' decimal formats. Yes, the bug occurred if your server was hosted in specific places(and configured to use said formats)
FIXED issue where experience refunded by soft resets could be increased by exp-increasing stats
FIXED issue where, if the enchanting skill was disabled, no vanilla exp could be obtained
FIXED trimming recipes and netherite upgrade recipes not working on 1.20
There is a quirk with this though. 1.20 changes smithing recipes a significant amount, spigot no longer supports proper "Smithing Recipes" and must now be one of its subtypes. That is, trimming recipes or transformation recipes (the type netherite recipes are of). These recipes require a template, which ValhallaMMO doesn't yet support. For this reason, it is hard-coded that if a smithing recipe doesn't work you can use a stick, paper, or piece of dirt as the "template". Ugly solution, I know, it'll be better in a future update.
FIXED improper configuration on the fishing rewards and error message caused by the modifier, and fixed fished up bows not having a custom draw strength
FIXED NullPointereException during enchanting
FIXED ClassCastException
FIXED issue where brewing stands occasionally did not brew properly
FIXED exploit allowing instant damage potions to instantly kill everything without near-magic immunity
FIXED configured upper-bounds and lower-bounds not working properly with scaling equations
FIXED issue where custom crafting system either damaged or nullified item held while crafting
FIXED issue where custom crafting system recipes could not be edited appropriately
TWEAK equations can now use $pi and $e as placeholders for pi and euler's constant
TWEAK plugin performance increased greatly (around 5x better performance estimated)
TWEAK incompatibility warnings no longer occur as these were confusing people too much
TWEAK cauldron recipes can now be executed by clicking the cauldron with the catalyst, alongside throwing the item in. This means you can cool hot items by clicking the cauldron as well
BALANCE nerfed default drop rate for diamonds and ender pearls with the digging skill
BALANCE nerfed default fishing rewards
BALANCE crafting with lower-end materials will grant less experience as you level up (exp*0.5 for each material "tier" removed). To compensate, diamond and netherite exp has been quadrupled