EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
812 stars 528 forks source link

Worldguard using deprecated AsyncChatEvent etc #2077

Closed BurkenDev closed 2 months ago

BurkenDev commented 2 months ago

WorldEdit Version

n/a

WorldGuard Version

latest

Platform Version

Paper 1.20.4

Confirmations

Bug Description

Another plugin (SignedVelocity-Paper) complains that you are not using the proper events and this will affect both that plugin and other plugins making worldguard not compatible properly:

The following plugins have listener in legacy org.bukkit.event.player.AsyncPlayerChatEvent event: WorldGuard Please report to the author to use Paper's AsyncChatEvent and/or AsyncChatDecorateEvent.

Expected Behavior

Use Paper API AsyncChatEvent to be compatible with Paper API

Reproduction Steps

look at your usage of AsyncChatEvent.

Optional WorldGuard-Report

No response

Anything Else?

No response

wizjany commented 2 months ago

2059