1
0
mirror of https://e.coding.net/circlecloud/GuiACK.git synced 2024-12-04 16:38:48 +00:00

clean up while player quit...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092 2015-09-21 14:05:16 +08:00
parent 65d2828aa1
commit 51f7e90dd6

View File

@ -87,5 +87,8 @@ public class PlayerListen implements Listener {
Player p = e.getPlayer(); Player p = e.getPlayer();
if (tasklist.containsKey(p.getName())) if (tasklist.containsKey(p.getName()))
tasklist.get(p.getName()).cancel(); tasklist.get(p.getName()).cancel();
tasklist.remove(p.getName());
checklist.remove(p.getName());
VerifyGui.remove(p);
} }
} }