Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

16M Downloads

[Bug] Server config file changes don't affect the game

rink1rika opened this issue ยท 5 comments

commented

Observed behaviour

After changing any parameter in server config file, changes do not apply to the items in game.
On first world reload after changing config file, parameters of the items do not change. On further reloads JEI stops showing scrolls and recipes for them. It can't be fixed by config file restoration, only by clearing all config files and reinstallin the mod. Same issue happens with using /reload command or editing config with the world closed.

Here an exaple of changing scroll minimal rarity in newly created world.

image
image
image

Expected behaviour

Config file changes have a corresponding effect on the game. For the example shown scroll's rarity should be set to common.

Steps to reproduce

  1. Make changes in server config file
  2. Reload world
  3. You can see no changes in the game
  4. JEI bugs on further reloads

Server Type

Single Player

Crashlog

No response

Iron's Spells N Spellbooks version

1.18.2-1.1.4.1, 1.18.2-1.1.4

Forge version

1.18.2-40.2.9

Other mods

  1. Caelus API 1.18.1-3.0.0.2
  2. Curios API 1.18.2-5.0.9.0
  3. GeckoLib 1.18-3.0.57
  4. Player animation 1.0.2+1.18
  5. Just Enough Items 1.18.2-10.2.1.1004
  6. Just Enough Resources 1.18.2-0.14.2.206
commented

@rink1rika Can you attach the full config file to this issue please?

commented

This issue is stale because it has been open for 30 days with no activity.

commented

not sure about the jei thing but currently you'd have to restart the server (rejoin in singleplayer) since the config event is unused

https://github.com/iron431/Irons-Spells-n-Spellbooks/blob/4ddcea450c04ccf75597871564c0791b20ee4145/src/main/java/io/redspace/ironsspellbooks/setup/CommonSetup.java#L47

commented

Yeah i've never run into this issue, before or since. Closing for inactivity/likelihood of user error