diff --git a/src/main/java/top/mpt/huihui/highversionqwq/commands/CheckShenQuan.java b/src/main/java/top/mpt/huihui/highversionqwq/commands/CheckShenQuan.java index 18a55d3..1ccf85f 100644 --- a/src/main/java/top/mpt/huihui/highversionqwq/commands/CheckShenQuan.java +++ b/src/main/java/top/mpt/huihui/highversionqwq/commands/CheckShenQuan.java @@ -32,7 +32,7 @@ public boolean onCommand(CommandSender commandSender, Command command, String s, teamExecuter.getBluePlayer().teleport(teamExecuter.getRedPlayer()); } if (countRed == 0 && countBlue == 0){ - + ChatUtils.broadcast("#AQUA#没有人是神权狗"); } } return true; diff --git a/src/main/java/top/mpt/huihui/highversionqwq/events/onPlayerQuit.java b/src/main/java/top/mpt/huihui/highversionqwq/events/onPlayerQuit.java index eef35bc..7acbdad 100644 --- a/src/main/java/top/mpt/huihui/highversionqwq/events/onPlayerQuit.java +++ b/src/main/java/top/mpt/huihui/highversionqwq/events/onPlayerQuit.java @@ -30,12 +30,14 @@ public void onPlayerQuitEvent(PlayerQuitEvent event){ , player.getName()); teamExecuter.removeRedPlayer(); teamExecuter.removeBluePlayer(); + GameStart = false; } if (teamExecuter.getBluePlayer().equals(player)){ ChatUtils.broadcast("#BLUE#蓝队#AQUA#玩家: %s 在比赛开始后陶艺了,比赛被迫结束。" , player.getName()); teamExecuter.removeRedPlayer(); teamExecuter.removeBluePlayer(); + GameStart = false; } } }