From 4c0fc6e52fc9ca035b16ee0065dfdccbb9a9b68c Mon Sep 17 00:00:00 2001 From: feildmaster Date: Mon, 3 Oct 2011 03:45:38 -0500 Subject: Edited Priority to "High" Adds compatibility to plugins that adds text to the current "format." --- EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EssentialsChat/src/com') diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java index 20b3756d0..7a10d9a92 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java @@ -25,7 +25,7 @@ public class EssentialsChat extends JavaPlugin chatListener = new HashMap(); final EssentialsChatPlayerListener playerListener = new EssentialsChatPlayerListener(getServer(), ess, chatListener); - pluginManager.registerEvent(Type.PLAYER_CHAT, playerListener, Priority.Highest, this); + pluginManager.registerEvent(Type.PLAYER_CHAT, playerListener, Priority.High, this); if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion())) { LOGGER.log(Level.WARNING, Util.i18n("versionMismatchAll")); -- cgit v1.2.3