mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
We shouldn't be canceling Priority.Monitor events; switched to Priority.Lowest.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1045 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
12b5203039
commit
fcf67d18b7
@ -155,7 +155,7 @@ public class Essentials extends JavaPlugin
|
|||||||
playerListener = new EssentialsPlayerListener(this);
|
playerListener = new EssentialsPlayerListener(this);
|
||||||
pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this);
|
pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this);
|
||||||
pm.registerEvent(Type.PLAYER_QUIT, playerListener, Priority.Monitor, this);
|
pm.registerEvent(Type.PLAYER_QUIT, playerListener, Priority.Monitor, this);
|
||||||
pm.registerEvent(Type.PLAYER_CHAT, playerListener, Priority.Monitor, this);
|
pm.registerEvent(Type.PLAYER_CHAT, playerListener, Priority.Lowest, this);
|
||||||
if (getSettings().getNetherPortalsEnabled())
|
if (getSettings().getNetherPortalsEnabled())
|
||||||
pm.registerEvent(Type.PLAYER_MOVE, playerListener, Priority.High, this);
|
pm.registerEvent(Type.PLAYER_MOVE, playerListener, Priority.High, this);
|
||||||
pm.registerEvent(Type.PLAYER_LOGIN, playerListener, Priority.High, this);
|
pm.registerEvent(Type.PLAYER_LOGIN, playerListener, Priority.High, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user