Change chat event priority to LOW

Factions has always been an egotistical bastard regarding chat and command interception. An example use case is muting players.
This commit is contained in:
Mark Hendriks 2016-02-19 10:37:36 +01:00
parent eb93c21fc9
commit d558ec37f0

View File

@ -24,7 +24,7 @@ public class FactionsChatListener implements Listener {
}
// this is for handling slashless command usage and faction/alliance chat, set at lowest priority so Factions gets to them first
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
public void onPlayerEarlyChat(AsyncPlayerChatEvent event) {
Player talkingPlayer = event.getPlayer();
String msg = event.getMessage();