Changed priority so we parse open chat before herochat (else herochat still shows messages intended for tc/nc modes)

This commit is contained in:
ElgarL committed 2011-10-23 17:03:58 +00:00
1 parent 2f0bab1a2a
commit fd6648676b
1 file changed
+1 -1
@@ -71,7 +71,7 @@ public class Chat extends JavaPlugin {
public void registerEvents() {
TownyPlayerListener = new TownyPlayerHighestListener(towny);
pm.registerEvent(Event.Type.PLAYER_CHAT, TownyPlayerListener, Priority.High, this); //Run this one level lower so we go before other chat plugins.
pm.registerEvent(Event.Type.PLAYER_CHAT, TownyPlayerListener, Priority.Normal, this); //Run this lower so we go before herochat.
pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, TownyPlayerListener, Priority.Highest, this);
}