#Personal Dimension day/night reset

29 messages · Page 1 of 1 (latest)

vital ridge
#

Recently, I've noticed my personal dimension on Eta getting set back to Day rather than having a day/night cycle. It seems to happen consistently on server resets, and appears to have started when I moved the portal block to my new base in said dimension. I suspect it has to do with my dimension predating the implementation of this feature, but I'm not certain of that.

As annoyances go, it's fairly minor, but if someone has a moment could they take a look?
Server: Eta
Dimension: 236

proven sparrow
vital ridge
#

To be clear, the day/night cycle is working fine once Celestus got updated. This is the dimension's Day/Night/day-night-cycle setting getting set back to Day when the server resets, rather than retaining its setting.

proven sparrow
#

oh the cycle restart at noon or something?

#

that's annoying if the cycle gets reset at each reboot

vital ridge
#

Before the reboot, it's set to have a day/night cycle.
After the reboot, it's set to just be noon until I set it to day/night cycle again.
It's a minor annoyance, as things go, but probably not intended behavior.

proven sparrow
#

@fleet lagoon any idea ?

fleet lagoon
#

@proven sparrow can you post the personalspace cfg file from that dimension's save folder?

proven sparrow
#

currently cooking now, will do in an hour and half

fleet lagoon
#

might be related to @polar kestrel's feature adding the daylight cycle and the related config migration

polar kestrel
#

hmm

#

yeah, need the config

#

probably forge weirdness not deleting the old key

fleet lagoon
#

the configuration is never cleared in PS code, it's only updated

polar kestrel
#

oh, im an idiot

fleet lagoon
#

ah you checked if nightTime->overwrite whatever you loaded before

#

the order needs to be swapped

polar kestrel
#
cfg.getCategory(VISUAL).remove("nightTime");
needsSaving = true;

in a !write block

fleet lagoon
#

well not swapped exactly, but put behind an if

polar kestrel
#

saving only happens if its set to true

fleet lagoon
#

lol yeah

#

ik how to fix it, let me make a PR

polar kestrel
#

i was just going to call cfg.save(); lol

fleet lagoon
#

and @proven sparrow for a server fix, just remove the nightTime=... line from that dim's config file

#

doesn't neeed server restart or anything

proven sparrow
#

will do it thx for the tip

proven sparrow
fleet lagoon
proven sparrow
#

oh lol thx