use uid(player) helper method

This commit is contained in:
jomo
2014-07-17 22:24:45 +02:00
parent ebf8a22bae
commit 8db6085d63
10 changed files with 32 additions and 28 deletions

View File

@@ -103,7 +103,7 @@ def on_report_command(sender, args):
text = " ".join(args)
loc = sender.getLocation()
reporter = sender.name
reporter_id = str(sender.getUniqueId())
reporter_id = uid(sender)
report = {
"uuid": reporter_id,
"msg": text,