From 5f74aa8ab8749bbddfdaa394e8514da48f2801a3 Mon Sep 17 00:00:00 2001 From: Amir Ali Omidi Date: Sun, 24 Jan 2016 00:32:43 +0330 Subject: [PATCH] Update PlayerEvents.java Allow other plugins to manage chat. Makes plugin work with DeluxeChat plugin. --- .../java/com/plotsquared/bukkit/listeners/PlayerEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java b/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java index 65ec37700..d5e7152b5 100644 --- a/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java +++ b/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java @@ -586,7 +586,7 @@ public class PlayerEvents extends com.plotsquared.listener.PlotListener implemen } } - @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) + @EventHandler(priority = EventPriority.LOW, ignoreCancelled = true) public void onChat(final AsyncPlayerChatEvent event) { final Player player = event.getPlayer(); final String world = player.getWorld().getName();