mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-05-31 19:47:34 +00:00
Edited Priority to "High"
Adds compatibility to plugins that adds text to the current "format."
This commit is contained in:
parent
3b9aa445e9
commit
4c0fc6e52f
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public class EssentialsChat extends JavaPlugin
|
||||||
chatListener = new HashMap<String, IEssentialsChatListener>();
|
chatListener = new HashMap<String, IEssentialsChatListener>();
|
||||||
|
|
||||||
final EssentialsChatPlayerListener playerListener = new EssentialsChatPlayerListener(getServer(), ess, chatListener);
|
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()))
|
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, Util.i18n("versionMismatchAll"));
|
LOGGER.log(Level.WARNING, Util.i18n("versionMismatchAll"));
|
||||||
|
|
Loading…
Reference in a new issue