Skip to content

Commit 869439b

Browse files
committed
added additional patch so that jump particles spawn in the currect location
1 parent f846697 commit 869439b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

PlayerJumpPatch/PlayerJumpPatch.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ private static bool Prefix(PlayerJump __instance, bool forceJump = false, float
5959
}
6060
else
6161
{
62-
if (data.sinceGrounded > 0.05f)
62+
// another fix, if the player is not grounded at all (regardless of how long its been), then the particles should be at the player
63+
//if (data.sinceGrounded > 0.05f)
64+
if (!data.isGrounded)
6365
{
6466
vector = __instance.transform.position;
6567
}

0 commit comments

Comments
 (0)