Move chat.spam check from "high" to "lowest" listener level, to

support HeroChat and similar.
This commit is contained in:
Evenprime 2011-09-14 15:06:37 +02:00
parent 8442194f3c
commit 80b3718993
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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