PvPManager

PvPManager

3M Downloads

PlayerHitPlayer event collision with RevivalMe

insidethehearts opened this issue ยท 4 comments

commented

Describe the bug

I have a fork on dying condition that prevents player 1 from hitting player 2 when player 1 is in dying condition. With your plugin (Premium version) player 1 can be player 2 when in a state before death.
(I think, your plugin use hitEvent.setCancelled(false).)

To reproduce the bug

  1. Insatll PvPManager Premium & RevivalMe
  2. Get a state before death
  3. Try to hit a opponent

Server:
Core - Paper 1.20.4
PvPManager Premium - latest

commented

What kind of vulnerability are we talking about?

commented

It's a config option, named Vulnerable

commented

It's really fixed my problem. I am set this function to 'false' by default.
In any case, thanks for the prompt response!

commented

I can barely understand what you're trying to say but set vulnerable to false in config, will probably solve it.