mirror of
https://e.coding.net/circlecloud/GuiACK.git
synced 2024-12-04 16:38:48 +00:00
fix relogin error...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
756d1543ac
commit
65d2828aa1
@ -63,6 +63,7 @@ public class PlayerListen implements Listener {
|
||||
if (!ci.getItemMeta().hasDisplayName())
|
||||
return;
|
||||
String clickName = ci.getItemMeta().getDisplayName();
|
||||
VerifyGui.remove(p);
|
||||
if (!guiname.endsWith(clickName))
|
||||
p.kickPlayer("§c验证码选择错误 请重新登录!");
|
||||
else {
|
||||
@ -70,7 +71,6 @@ public class PlayerListen implements Listener {
|
||||
p.sendMessage("§a验证成功 奖励金钱: " + plugin.reward);
|
||||
checklist.put(p.getName(), true);
|
||||
p.closeInventory();
|
||||
VerifyGui.remove(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user