Skip to content

fix(logic): Verify client state (#21)#22

Open
Rushaway wants to merge 4 commits into
masterfrom
Rushaway-patch-1
Open

fix(logic): Verify client state (#21)#22
Rushaway wants to merge 4 commits into
masterfrom
Rushaway-patch-1

Conversation

@Rushaway

Copy link
Copy Markdown
Member

Increment version from 2.0.0 to 2.0.1 and add entity validation in RestoreGravity function.
#21

Increment version from 2.0.0 to 2.0.1 and add entity validation in RestoreGravity function.
Copilot AI review requested due to automatic review settings June 27, 2026 06:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the FixSvGravity SourceMod plugin to address Issue #21 (“Entity is invalid”) by hardening RestoreGravity() against invalid entity/client state, and bumps the plugin version accordingly.

Changes:

  • Bump plugin version from 2.0.0 → 2.0.1.
  • Add a guard in RestoreGravity() to avoid operating on invalid client/entity state before calling SetEntityGravity().

Comment thread addons/sourcemod/scripting/FixSvGravity.sp Outdated
Rushaway and others added 3 commits June 27, 2026 08:34
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants