Skip to content

Knockback is incorrectly applied to nearby players when hitting knockback-enabled objects #27

@Liparakis

Description

@Liparakis

When a player attacks or interacts with an object that applies knockback, any nearby player also receives the knockback effect even though they did not hit the object. Knockback should only be applied to the player or entity that directly triggered the interaction.

Steps to Reproduce

  1. Have Player A and Player B stand close to each other.
  2. Ensure there is an object that applies knockback when hit (e.g. Gate close at spawn that required Needolin to open).
  3. Player A hits the knockback-enabled object.
  4. Observe Player B’s movement.

Expected Behavior

  • Only the player who hit the object (Player A) should receive knockback.
  • Nearby players should remain unaffected unless they directly hit the object.

Actual Behavior

  • Nearby players (Player B) also receive knockback despite not interacting with the object.
  • The knockback appears to be applied based on proximity rather than direct interaction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions