Skip to content

[BUG]: Player::Kill doesn't result in death #394

@OMEGA3065

Description

@OMEGA3065

Before You Report

  • I have searched for existing reports of this bug, and this bug report is unique.

Version

1.1.6

Description

When calling Player::Kill() or it's overloads, the player doesn't die if they have SpawnProtection with the default config.

To Reproduce

  1. Give the SpawnProtected effect to the player.
  2. Run player.Kill() from plugin (or just deal damage using an universal damage handler)
  3. Player in fact doesn't die

Expected Behavior

Player should in fact die.

Additional Information

Even if resolved, I think there should be an option for developers to bypass the config setting even if it's enabled. Like either dealing -2 damage (sounds horrible) or another method.

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