mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-14 19:41:21 +01:00
Move chat.spam check from "high" to "lowest" listener level, to
support HeroChat and similar.
This commit is contained in:
parent
8442194f3c
commit
80b3718993
@ -3,7 +3,7 @@ name: NoCheat
|
||||
author: Evenprime
|
||||
|
||||
main: cc.co.evenprime.bukkit.nocheat.NoCheat
|
||||
version: 2.03a
|
||||
version: 2.03b
|
||||
|
||||
permissions:
|
||||
|
||||
|
@ -38,7 +38,7 @@ public class PlayerChatEventManager extends PlayerListener implements EventManag
|
||||
|
||||
PluginManager pm = Bukkit.getServer().getPluginManager();
|
||||
|
||||
pm.registerEvent(Event.Type.PLAYER_CHAT, this, Priority.High, plugin);
|
||||
pm.registerEvent(Event.Type.PLAYER_CHAT, this, Priority.Lowest, plugin);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user