From 5ef17713a478678261b1a317fb0a6d94fcc189c2 Mon Sep 17 00:00:00 2001 From: Dico200 Date: Sun, 15 Mar 2015 04:03:40 +0100 Subject: Change runas() in helpers to use player.chat --- helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers.py') 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): -- cgit v1.2.3