Fixed UUID problem in Pmtoggle

Thanks @jomo  for pointing out
This commit is contained in:
Dico200
2015-03-15 02:41:58 +01:00
committed by jomo
parent ad70989a40
commit 88a935f473

View File

@@ -50,5 +50,5 @@ def on_quit(event):
for pid in toggle_dict:
if toggle_dict[pid] == uuid:
del toggle_dict[pid]
msg(Bukkit.getPlayer(pid), "%s &cwent off so your Private Message Toggle has been disabled!" % Bukkit.getPlayer(uuid).getDisplayName())
msg(Bukkit.getPlayer(juuid(pid)), "%s &cwent off so your Private Message Toggle has been disabled!" % Bukkit.getPlayer(uuid).getDisplayName())