From a3a51968b256875d36d40276c8c7fa05d19fc505 Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 11 May 2017 18:46:16 +0200 Subject: [PATCH] Fixed messages being sent twice sometimes --- src/com/redstoner/modules/socialspy/Socialspy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/redstoner/modules/socialspy/Socialspy.java b/src/com/redstoner/modules/socialspy/Socialspy.java index 0cd272d..740615a 100644 --- a/src/com/redstoner/modules/socialspy/Socialspy.java +++ b/src/com/redstoner/modules/socialspy/Socialspy.java @@ -17,7 +17,7 @@ import com.redstoner.misc.Utils; import com.redstoner.modules.CoreModule; import com.redstoner.modules.datamanager.DataManager; -@Version(major = 3, minor = 0, revision = 2, compatible = 3) +@Version(major = 3, minor = 0, revision = 3, compatible = 3) public class Socialspy implements CoreModule { @Override @@ -176,7 +176,6 @@ public class Socialspy implements CoreModule { if (filter == null || filter.sendTo(p)) Utils.sendMessage(p, "", formatMessage(p, sender, target, message, command)); - Utils.sendMessage(p, "", formatMessage(p, sender, target, message, command)); } else DataManager.setData(sender, "enabled", false);