[Bug] Server config option "Min Rarity" doesn't work
uhloin opened this issue ยท 5 comments
Observed behaviour
Min Rarity server config option doesn't work
In fact, the goal was to make for Blood Needles legendary only level 10 (instead of 9 and 10) by change of min level from uncommon to common.
Expected behaviour
Minimal rarity for level 1 scroll should be changed in the game, and upper levels should change
Steps to reproduce
In the server config file irons_spellbooks-server.toml
In the section [Spells."irons_spellbooks:blood_needles"]
Change value MinRarity from "UNCOMMON" to "COMMON"
Start a game, use JEI to list scrolls of Blood Needles, minimal rarity is still "UNCOMMON"
Server Type
Single Player
Crashlog
No response
Iron's Spells N Spellbooks version
1.20.1-3.1.7.1
Forge version
1.20.1-47.1.100
Other mods
No response
Tried all you said.
- Other values change OK (for example Cooldown)
- If I edit file without quit game with this mod:
https://www.curseforge.com/minecraft/mc-mods/config-menus-forge
- file changed, but scroll in JEI is still old
- If press "Save and Quit to TItle", change the file with text editor, reload world
- file changed, but scroll in JEI is still old
- If close and RESTART Minecraft - scroll in JEI changed!
Now I have additional issue:
JEI shows that:
Eldritch Blast 5 Legendary + Eldritch Blast 5 Legendary = Eldritch Blast 6 Common(!)
But there are no such scroll of level 6
Server config for this spell:
Enabled = true
School = "irons_spellbooks:eldritch"
MaxLevel = 5
#Allowed Values: COMMON, UNCOMMON, RARE, EPIC, LEGENDARY
MinRarity = "RARE"
ManaCostMultiplier = 1.0
SpellPowerMultiplier = 1.0
CooldownInSeconds = 15.0
AllowCrafting = true