Updating player chat events

This commit is contained in:
Doggy 2012-08-09 21:34:49 -03:00
parent 70dc3386ce
commit 0383125b63

View File

@ -129,7 +129,7 @@ public class PlayerListener extends ModifyworldListener {
}
@EventHandler(priority = EventPriority.LOW)
public void onPlayerChat(PlayerChatEvent event) {
public void onPlayerChat(AsyncPlayerChatEvent event) {
if (permissionDenied(event.getPlayer(), "modifyworld.chat")) {
event.setCancelled(true);
}