diff --git a/helpers.py b/helpers.py index 6a962f2..e72b19d 100644 --- a/helpers.py +++ b/helpers.py @@ -112,7 +112,7 @@ def runas(player, cmd): run a command as player the cmd should no be prefixed with a / """ - server.dispatchCommand(player, cmd) + player.chat("/" + cmd) def is_player(obj):