mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Handle cancelled chat events properly
This commit is contained in:
parent
dd0f0c7128
commit
9b31f30f14
@ -272,6 +272,8 @@ public class BukkitEventProcessor {
|
||||
|
||||
@Override
|
||||
public void onPlayerChat(PlayerChatEvent event) {
|
||||
if(event.isCancelled())
|
||||
return;
|
||||
/* Call listeners */
|
||||
List<Listener> ll = event_handlers.get(event.getType());
|
||||
if(ll != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user