From 43981f77edda4a7669c0238d0be87cff9fc7ee40 Mon Sep 17 00:00:00 2001 From: Pepich Date: Tue, 7 Feb 2017 03:40:23 +0100 Subject: [PATCH] Made mentio no longer false trigger --- src/com/redstoner/modules/mentio/Mentio.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/redstoner/modules/mentio/Mentio.java b/src/com/redstoner/modules/mentio/Mentio.java index 24c9f9f..2d35523 100644 --- a/src/com/redstoner/modules/mentio/Mentio.java +++ b/src/com/redstoner/modules/mentio/Mentio.java @@ -23,7 +23,7 @@ import com.redstoner.misc.Utils; import com.redstoner.modules.Module; @AutoRegisterListener -@Version(major = 1, minor = 0, revision = 2, compatible = 1) +@Version(major = 1, minor = 0, revision = 3, compatible = 1) public class Mentio implements Module, Listener { private boolean enabled = false; @@ -125,6 +125,8 @@ public class Mentio implements Module, Listener @EventHandler(priority = EventPriority.MONITOR) public void onPlayerChat(AsyncPlayerChatEvent event) { + if (event.isCancelled()) + return; for (Player player : event.getRecipients()) { UUID uuid = player.getUniqueId();