TARDIS

TARDIS

228k Downloads

TARDIS Sensors resetting

TempusVulpi opened this issue ยท 1 comments

commented

Describe the bug

Blocks such as the recharging sensor, flight sensor, etc. seem to reset completely on server restart, requiring the use of /tardis update to set them up again.

To Reproduce

  1. Set sensor with /tardis update charging-sensor
  2. Confirm working as intended
  3. Restart server.
  4. Sensor appears to be unregistered, reverting to a normal redstone block.

Screenshots

No response

Log files

Removed as not relevant to the issue

'/tardis version' output

[18:50:32 INFO]: [TARDIS] Server version: 1.21-127-4e6a2a1 (MC: 1.21)
[18:50:32 INFO]: [TARDIS] TARDIS version: 5.7.0-b2949
[18:50:32 INFO]: [TARDIS] WorldGuard version: 7.0.11-beta1+a801a9d
[18:50:32 INFO]: [TARDIS] Vault version: 1.7.3-b131
[18:50:32 INFO]: [TARDIS] Essentials version: 2.21.0-dev+106-8b08a8f
[18:50:32 INFO]: [TARDIS] BlueMap version: 5.3
[18:50:32 INFO]: [TARDIS] LibsDisguises version: 10.0.44-SNAPSHOT
[18:50:32 INFO]: [TARDIS] Checking for new TARDIS builds...
[18:50:32 INFO]: [TARDIS] You are running the latest version!

commented

I've made it so that the charging sensor is reset when the server shuts down then recharging resumes when the server starts again.
There is always a delay before the charging sensor comes on after engaging the handbrake due to the nature of the existing code, but it's always been like that - the sensor changes when charging actually begins.

I can't reproduce any issues with other sensors they all work as expected after a restart, granted I didn't restart mid flight...