Skip to content

Commit 395c309

Browse files
authored
Merge pull request #3225 from Multiverse/fix/skip-wrong-class
Fix wrong skip class for AsyncPlayerChatEvent
2 parents dbeba59 + b0219fb commit 395c309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mvplugins/multiverse/core/listeners/MVChatListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private ChatRenderer getPrefixedChatRenderer(ChatRenderer currentRenderer) {
7272
* @param event The {@link AsyncPlayerChatEvent}.
7373
*/
7474
@EventMethod
75-
@SkipIfEventExist("io.papermc.paper.event.player.AsyncChatDecorateEvent")
75+
@SkipIfEventExist("io.papermc.paper.event.player.AsyncChatEvent")
7676
@IgnoreIfCancelled
7777
void asyncPlayerChat(AsyncPlayerChatEvent event) {
7878
// Check whether the Server is set to prefix the chat with the World name.

0 commit comments

Comments
 (0)