Skip to content

Commit

Permalink
Move onJoinMessage to HIGH priority
Browse files Browse the repository at this point in the history
  • Loading branch information
sgdc3 committed Jun 7, 2021
1 parent 5be9b38 commit f2a6607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/fr/xephi/authme/listener/PlayerListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public void onPlayerJoin(PlayerJoinEvent event) {
teleportationService.teleportNewPlayerToFirstSpawn(player);
}

@EventHandler(priority = EventPriority.HIGHEST)
@EventHandler(priority = EventPriority.HIGH) // HIGH as EssentialsX listens at HIGHEST
public void onJoinMessage(PlayerJoinEvent event) {
final Player player = event.getPlayer();

Expand Down

2 comments on commit f2a6607

@cicatrice74
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is causing issues using delay join messages option in the authme config, it is causing the essentialsx custom join/quit messages to not show, what can i do to fix this ?

@sgdc3
Copy link
Member Author

@sgdc3 sgdc3 commented on f2a6607 Jun 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cicatrice74 simply authme delayed message is not compatible with essentialsx, that's a limitation caused by EssX

Please sign in to comment.