Skip to content

Potion effects don't apply to the thrower when PvP is off #14

@benrobson

Description

@benrobson

It appears that when a player has PvP disabled, potions they throw (such as harming, poison, or weakness) do not affect themselves. This may be unintended behavior, especially in cases where the player is expecting splash or lingering potions to apply effects regardless of PvP state.

Steps to Reproduce:

  1. Ensure the player has PvP turned off.

  2. Throw a splash or lingering potion (e.g., Harming II) at your own feet.

  3. Observe that the player is not affected by the potion.

Expected Behavior:

Players should be affected by their own thrown potions, regardless of their PvP status, unless explicitly intended otherwise by plugin design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions