FIX THIS BEFORE MERGING!

This commit is contained in:
jomo
2014-07-31 00:07:15 +02:00
parent db50be458f
commit 5cac70af31

View File

@@ -59,6 +59,8 @@ def add(sender, names):
for name in names:
player = server.getOfflinePlayer(name)
# FIXME: breaks if player not known
# FIXME: might to a blocking call, maybe we can use getOfflinePlayers()
if known_player(player):
player_id = uid(player)
not_yourself = player != sender