Archived
0

Fixed /r showing up as /m in socialspy

This commit is contained in:
Pepich
2017-05-13 23:24:34 +02:00
parent bbba4ecff0
commit 7164a26839

View File

@@ -17,7 +17,7 @@ import com.redstoner.misc.Utils;
import com.redstoner.modules.Module; import com.redstoner.modules.Module;
import com.redstoner.modules.socialspy.Socialspy; import com.redstoner.modules.socialspy.Socialspy;
@Version(major = 3, minor = 3, revision = 3, compatible = 3) @Version(major = 3, minor = 3, revision = 4, compatible = 3)
public class Message implements Module public class Message implements Module
{ {
HashMap<CommandSender, CommandSender> replyTargets = new HashMap<CommandSender, CommandSender>(); HashMap<CommandSender, CommandSender> replyTargets = new HashMap<CommandSender, CommandSender>();
@@ -74,7 +74,7 @@ public class Message implements Module
{ {
message = Utils.colorify(message, sender); message = Utils.colorify(message, sender);
if (ModuleLoader.getModule("Socialspy") != null) if (ModuleLoader.getModule("Socialspy") != null)
Socialspy.spyBroadcast(sender, target, message, "/m", new BroadcastFilter() Socialspy.spyBroadcast(sender, target, message, "/r", new BroadcastFilter()
{ {
@Override @Override
public boolean sendTo(CommandSender recipient) public boolean sendTo(CommandSender recipient)