Describe the bug
If I am in spectator mode as a moderator/admin and spectating someone, they can use flint and steel for example and when I'm close enough, they'll be told "Folas1337 has PvP protection" which they shouldn't see because for them I am not even there.
So ideally, before checking if someone has PvP protection, also check if they're in spectator mode and if yes, don't consider them.
To reproduce the bug
- Go into spectator mode
- Be near another player
- Let the other player use flint and steel near you
- The other player gets told about your presence when they shouldn't know
Plugin and Server version
PvPManager 4.0.9
This server is running Paper version 26.1.2-63-main@711c5de (2026-05-11T08:20:02Z) (Implementing API version 26.1.2.build.63-stable)
Screenshots
I hope none is necessary
Additional information
Nothing additional to add
Describe the bug
If I am in spectator mode as a moderator/admin and spectating someone, they can use flint and steel for example and when I'm close enough, they'll be told "Folas1337 has PvP protection" which they shouldn't see because for them I am not even there.
So ideally, before checking if someone has PvP protection, also check if they're in spectator mode and if yes, don't consider them.
To reproduce the bug
Plugin and Server version
PvPManager 4.0.9
This server is running Paper version 26.1.2-63-main@711c5de (2026-05-11T08:20:02Z) (Implementing API version 26.1.2.build.63-stable)
Screenshots
I hope none is necessary
Additional information
Nothing additional to add