Fixed sudo
This commit is contained in:
parent
d30cfe152a
commit
7966b91954
@ -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);
|
||||||
|
Reference in New Issue
Block a user