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

@@ -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