diff options
author | jomo <github@jomo.tv> | 2014-07-17 22:24:45 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-07-17 22:24:45 +0200 |
commit | 8db6085d63ce20a8eaa2f7b68809dc6485bf56fd (patch) | |
tree | 2363ef834cb1cc7bf79769a5d5caae521d2119db /damnspam.py | |
parent | ebf8a22bae30c9060e2520be288c7d0b3af84582 (diff) |
use uid(player) helper method
Diffstat (limited to 'damnspam.py')
-rw-r--r-- | damnspam.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/damnspam.py b/damnspam.py index e74044a..1a93ae4 100644 --- a/damnspam.py +++ b/damnspam.py @@ -30,7 +30,7 @@ def location_str(block): def add_input(creator, block, timeout_off, timeout_on): global inputs inputs[location_str(block)] = { - "creator" : str(creator.getUniqueId()), + "creator" : uid(creator), "timeout_off" : timeout_off, "timeout_on" : timeout_on, "last_time" : 0 |