summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-17 22:24:45 +0200
committerjomo <github@jomo.tv>2014-07-17 22:24:45 +0200
commit8db6085d63ce20a8eaa2f7b68809dc6485bf56fd (patch)
tree2363ef834cb1cc7bf79769a5d5caae521d2119db /README.md
parentebf8a22bae30c9060e2520be288c7d0b3af84582 (diff)
use uid(player) helper method
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2ef70db..d953861 100644
--- a/README.md
+++ b/README.md
@@ -190,7 +190,7 @@ foo = int(player_data[str(server.getPlayer(args[4]).getUniqueId())]["details"].[
# good
player = server.getPlayer(args[4])
-player_id = str(player.getUniqueId())
+player_id = uid(player)
logintime = player_data[played_id]["last_login"]
epoch_time = int(logintime.strftime("%s"))
```