FIX THIS BEFORE MERGING!

This commit is contained in:
jomo
2014-07-31 00:07:15 +02:00
parent 044134f0c4
commit 28d0182496

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