setvariable `save` option does not save on CASTER or TARGET scope
Closed
setvariable `save` option does not save on CASTER or TARGET scope
Summary
setting a variable with the save option doesn't save the variable after a restart if its scope is CASTER or TARGET.
Steps to reproduce
- setvariable{save=true;var=caster.test;value=120;type=INTEGER;scope=caster} @self ~onSpawn
- msg{m="<caster.var.test>"} @trigger ~onInteract
/stop
one mob is spawned, right click mob once the server is back up. Make sure mob is set to persistent or despawn: false.
Server log file
Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.
Debug log snippet
https://discord.com/channels/213109157983813633/213111688172404748/1130145893589450783
Replicated bug by @RumiExMachina and @joshinn recently as well. Same issue, is not saving these properly.
added Bug Verified Issue labels
marked this issue as related to #1152 (closed)
added Completed / Resolved label