BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
333 stars 137 forks source link

When PVP is enabled or disabled, visitor will receive the message 2 times #2381

Closed huguyt closed 4 months ago

huguyt commented 4 months ago

Expected behavior

When PVP is enabled or disabled, visitors will only receive the message once.

Observed/Actual behavior

The same message is shown 2 times. 20240525145141

Steps/models to reproduce

Create an island and let the visitor come to the island. Island owner enables or disables overworld, nether, and end PVP flag(PVP_OVERWORLD, PVP_NETHER, PVP_END). Then it happened.

BentoBox version

bbox version 14:56:18 INFO: Running PAPER 1.20.4.

14:56:18 INFO: BentoBox version: 2.3.0 14:56:18 INFO: Database: JSON 14:56:18 INFO: Loaded Game Worlds: 14:56:18 INFO: bskyblock_world (BSkyBlock): Overworld, Nether, The End 14:56:18 INFO: Loaded Addons: 14:56:18 INFO: BSkyBlock 1.17.1 (ENABLED)

Plugin list

plugins [14:56:30 INFO]: Server Plugins (3): [14:56:30 INFO]: Bukkit Plugins: [14:56:30 INFO]: - BentoBox, BentoBox-BSkyBlock, ViaVersion

Other

After testing, it should only be the visitor who has this problem. Other ranks don't seem to have this problem.

tastybento commented 4 months ago

Thanks for the report