From 7966b91954d98aa808050444f9ace2e41c16c548 Mon Sep 17 00:00:00 2001 From: Pepich Date: Tue, 7 Feb 2017 04:03:06 +0100 Subject: [PATCH] Fixed sudo --- src/com/redstoner/modules/misc/Misc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/redstoner/modules/misc/Misc.java b/src/com/redstoner/modules/misc/Misc.java index 1d5fcc9..b386fac 100644 --- a/src/com/redstoner/modules/misc/Misc.java +++ b/src/com/redstoner/modules/misc/Misc.java @@ -172,7 +172,7 @@ public class Misc implements Module, Listener } } Bukkit.dispatchCommand(target, command.replaceFirst("^/", "")); - Utils.sendMessage(sender, null, "Sudoed " + target + " into running " + command); + Utils.sendMessage(sender, null, "Sudoed " + name + " into running " + command); } else ((Player) target).chat(command);