diff --git a/QSB/EchoesOfTheEye/EclipseDoors/WorldObjects/QSBEclipseDoorController.cs b/QSB/EchoesOfTheEye/EclipseDoors/WorldObjects/QSBEclipseDoorController.cs index 81238846..2d934932 100644 --- a/QSB/EchoesOfTheEye/EclipseDoors/WorldObjects/QSBEclipseDoorController.cs +++ b/QSB/EchoesOfTheEye/EclipseDoors/WorldObjects/QSBEclipseDoorController.cs @@ -10,7 +10,7 @@ internal class QSBEclipseDoorController : QSBRotatingElements LightSensors => AttachedObject._lightSensors; public override string ReturnLabel() - => $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}"; + => $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value?.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}"; protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.DoorPrefab; } diff --git a/QSB/EchoesOfTheEye/EclipseElevators/WorldObjects/QSBEclipseElevatorController.cs b/QSB/EchoesOfTheEye/EclipseElevators/WorldObjects/QSBEclipseElevatorController.cs index 2b521d3b..222e3815 100644 --- a/QSB/EchoesOfTheEye/EclipseElevators/WorldObjects/QSBEclipseElevatorController.cs +++ b/QSB/EchoesOfTheEye/EclipseElevators/WorldObjects/QSBEclipseElevatorController.cs @@ -10,7 +10,7 @@ internal class QSBEclipseElevatorController : QSBRotatingElements LightSensors => AttachedObject._lightSensors; public override string ReturnLabel() - => $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}"; + => $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value?.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}"; protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.ElevatorPrefab; }