From 281a7ee53f1bf30cfda58f802ea5a8e11e1f43f6 Mon Sep 17 00:00:00 2001 From: Zingabopp Date: Tue, 22 Feb 2022 12:39:45 -0600 Subject: [PATCH] Fixed for 1.19.1 (probably) --- Modifiers/ClawTrail.cs | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Modifiers/ClawTrail.cs b/Modifiers/ClawTrail.cs index e020e47..6ae78e2 100644 --- a/Modifiers/ClawTrail.cs +++ b/Modifiers/ClawTrail.cs @@ -73,10 +73,10 @@ public override void LateUpdate() var bottom = Vector3.LerpUnclamped(lastAddedData.bottomPos, prevAddedData.bottomPos, t); var top = Vector3.LerpUnclamped(lastAddedData.topPos, prevAddedData.topPos, t); - _trailElementCollection.head.SetData(bottom, CalcNewTopPos(bottom, top), _lastTrailElementTime); + _trailElementCollection.SetHeadData(bottom, CalcNewTopPos(bottom, top), _lastTrailElementTime); _trailElementCollection.MoveTailToHead(); } - _trailElementCollection.head.SetData(lastAddedData.bottomPos, lastAddedData.topPos, lastAddedData.time); + _trailElementCollection.SetHeadData(lastAddedData.bottomPos, lastAddedData.topPos, lastAddedData.time); _trailElementCollection.UpdateDistances(); _trailRenderer.transform.position = transform.rotation * new Vector3(0, TrailYOffset); diff --git a/manifest.json b/manifest.json index 21529a1..df237cf 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ "SongCore": "^3.9.0" }, "description": "Gameplay modifier that shrinks sabers by 70% & alters grip.", - "gameVersion": "1.19.0", + "gameVersion": "1.19.1", "id": "claws", "name": "Claws", "version": "1.9.0",