Fixed UUID problem in Pmtoggle

Thanks @jomo  for pointing out
This commit is contained in:
Dico200
2015-03-15 02:41:58 +01:00
parent c0c1879fde
commit 1b2b3c2fa9

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())