diff --git a/QSB/OrbSync/TransformSync/NomaiOrbTransformSync.cs b/QSB/OrbSync/TransformSync/NomaiOrbTransformSync.cs index 0a15849f..7fc2bb43 100644 --- a/QSB/OrbSync/TransformSync/NomaiOrbTransformSync.cs +++ b/QSB/OrbSync/TransformSync/NomaiOrbTransformSync.cs @@ -1,7 +1,6 @@ using QSB.AuthoritySync; using QSB.OrbSync.WorldObjects; using QSB.Syncs.Unsectored.Transforms; -using QSB.Utility; using QSB.Utility.LinkedWorldObject; using QSB.WorldSync; using UnityEngine; @@ -48,10 +47,7 @@ public class NomaiOrbTransformSync : UnsectoredTransformSync, ILinkedNetworkBeha protected override void Init() { base.Init(); - DebugLog.DebugWrite($"{this} - attached = {AttachedTransform}"); var body = AttachedTransform.GetAttachedOWRigidbody(); - DebugLog.DebugWrite($"{this} - body = {body}"); - DebugLog.DebugWrite($"{this} - body.GetOrigParent() = {body.GetOrigParent()}"); SetReferenceTransform(body.GetOrigParent()); body.OnUnsuspendOWRigidbody += OnUnsuspend; @@ -65,14 +61,11 @@ public class NomaiOrbTransformSync : UnsectoredTransformSync, ILinkedNetworkBeha // this is null sometimes on here, but not on other similar transforms syncs (like anglers) // idk why, but whatever - DebugLog.DebugWrite($"{this} - attached = {AttachedTransform}"); if (AttachedTransform) { var body = AttachedTransform.GetAttachedOWRigidbody(); - DebugLog.DebugWrite($"{this} - body = {body}"); if (body) { - DebugLog.DebugWrite($"{this} - body.GetOrigParent() = {body.GetOrigParent()}"); body.OnUnsuspendOWRigidbody -= OnUnsuspend; body.OnSuspendOWRigidbody -= OnSuspend; }