diff --git a/QSB/TeleportingPlanetsPatch.cs b/QSB/TeleportingPlanetsPatch.cs deleted file mode 100644 index e0ff1b5a..00000000 --- a/QSB/TeleportingPlanetsPatch.cs +++ /dev/null @@ -1,27 +0,0 @@ -using HarmonyLib; -using OWML.Common; -using QSB.Patches; -using QSB.Utility; -using System; -using UnityEngine; - -namespace QSB; - -/// -/// TEMPORARY: this is for trying to solve this stupid fucking bug (gorp) -/// -[HarmonyPatch(typeof(OWRigidbody))] -public class TeleportingPlanetsPatch : QSBPatch -{ - public override QSBPatchTypes Type => QSBPatchTypes.OnModStart; - - [HarmonyPostfix] - [HarmonyPatch(nameof(OWRigidbody.SetPosition))] - private static void SetPosition(OWRigidbody __instance, Vector3 worldPosition) - { - if (__instance.GetComponent()) - { - DebugLog.ToAll($"AHHHHHHHHH!!!!!!!!!\n{Environment.StackTrace}", MessageType.Error); - } - } -}