The "pvp" flag does not prevent hindering AoE clouds from affecting players
TheosisOfficial opened this issue ยท 0 comments
Versions
WorldEdit version: Bukkit-Official(7.2.5+57d5ac9)
WorldGuard version: Bukkit-Official (7.0.5+3827266)
Platform version: Paper-782 (MC 1.16.5)
Describe the bug
In regions where players can build but not PvP, due to the "pvp" flag being set to "deny", a player can throw hindering (weakness, poison, slowness, etc.) lingering potions, and the AoE (area of effect) clouds created by them can affect other players.
To Reproduce
- Set up a region where players can build but not PvP due to the "pvp" flag being set to "deny".
- Have one player create an AoE cloud by throwing for example a lingering potion of poison.
- Have a different player walk into the AoE cloud and observe as they become poisoned.
Expected behavior
Similar to how AoE clouds caused by lingering potions of harming don't affect other players in a region setup like this, neither should other lingering potions that are considered to be hindering. The "pvp" flag already prevents regular splash potions that are considered to be hindering from affecting other players, so it should prevent lingering potions too.