mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-31 20:41:37 +01:00
Merge pull request #28 from feildmaster/patch-2
Edited Priority to "High" of chat listener
This commit is contained in:
commit
010245e1a5
@ -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 New Issue
Block a user