Change runas() in helpers to use player.chat

This commit is contained in:
Dico200
2015-03-15 04:03:40 +01:00
parent 96b4cb2e3f
commit 5ef17713a4

View File

@@ -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):