mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-28 10:21:22 +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
|
author: Evenprime
|
||||||
|
|
||||||
main: cc.co.evenprime.bukkit.nocheat.NoCheat
|
main: cc.co.evenprime.bukkit.nocheat.NoCheat
|
||||||
version: 2.03a
|
version: 2.03b
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ public class PlayerChatEventManager extends PlayerListener implements EventManag
|
|||||||
|
|
||||||
PluginManager pm = Bukkit.getServer().getPluginManager();
|
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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user