mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 22:21:52 +00:00
raised priority again as it messes up with esschat
This commit is contained in:
1 parent
0923d35dd4
commit
3180d767ce
1 file changed
+1
-1
@@ -71,7 +71,7 @@ public class Chat extends JavaPlugin {
|
|||||||
public void registerEvents() {
|
public void registerEvents() {
|
||||||
TownyPlayerListener = new TownyPlayerHighestListener(towny);
|
TownyPlayerListener = new TownyPlayerHighestListener(towny);
|
||||||
|
|
||||||
pm.registerEvent(Event.Type.PLAYER_CHAT, TownyPlayerListener, Priority.Normal, this); //Run this lower so we go before herochat ( it needs to see us cancel).
|
pm.registerEvent(Event.Type.PLAYER_CHAT, TownyPlayerListener, Priority.Highest, this); //Run this lower so we go before herochat? ( it needs to see us cancel).
|
||||||
pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, TownyPlayerListener, Priority.Highest, this);
|
pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, TownyPlayerListener, Priority.Highest, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user