0

Fixed sudo

This commit is contained in:
Pepich 2017-02-07 04:03:06 +01:00
parent d30cfe152a
commit 7966b91954

View File

@ -172,7 +172,7 @@ public class Misc implements Module, Listener
} }
} }
Bukkit.dispatchCommand(target, command.replaceFirst("^/", "")); Bukkit.dispatchCommand(target, command.replaceFirst("^/", ""));
Utils.sendMessage(sender, null, "Sudoed " + target + " into running " + command); Utils.sendMessage(sender, null, "Sudoed " + name + " into running " + command);
} }
else else
((Player) target).chat(command); ((Player) target).chat(command);