From 3180d767cee037ab5d462a3593909bda0284276f Mon Sep 17 00:00:00 2001 From: ElgarL Date: Fri, 28 Oct 2011 18:39:26 +0000 Subject: [PATCH] raised priority again as it messes up with esschat --- src/com/palmergames/bukkit/TownyChat/Chat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/palmergames/bukkit/TownyChat/Chat.java b/src/com/palmergames/bukkit/TownyChat/Chat.java index f57770d..46a2a1e 100644 --- a/src/com/palmergames/bukkit/TownyChat/Chat.java +++ b/src/com/palmergames/bukkit/TownyChat/Chat.java @@ -71,7 +71,7 @@ public class Chat extends JavaPlugin { public void registerEvents() { TownyPlayerListener = new TownyPlayerHighestListener(towny); - pm.registerEvent(Event.Type.PLAYER_CHAT, TownyPlayerListener, Priority.Normal, this); //Run this lower so we go before herochat ( it needs to see us cancel). + pm.registerEvent(Event.Type.PLAYER_CHAT, TownyPlayerListener, Priority.Highest, this); //Run this lower so we go before herochat? ( it needs to see us cancel). pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, TownyPlayerListener, Priority.Highest, this); }