From 513ba7ad8cfa055c26e561dbee61d638430fc8c1 Mon Sep 17 00:00:00 2001 From: Sodium-Aluminate Date: Thu, 21 Dec 2023 18:12:15 +0800 Subject: [PATCH] fix assert --- src/main/java/com/alpt/vtools/listeners/ServerCloser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/alpt/vtools/listeners/ServerCloser.java b/src/main/java/com/alpt/vtools/listeners/ServerCloser.java index ea68886..6390c66 100644 --- a/src/main/java/com/alpt/vtools/listeners/ServerCloser.java +++ b/src/main/java/com/alpt/vtools/listeners/ServerCloser.java @@ -58,6 +58,7 @@ public class ServerCloser { if (!INSTANCE.server.getAllPlayers().isEmpty()) { plugin.logger.error("ServerCloser: 定时器到点时发现服务器有人。这不应发生,因为定时器本应该被打断。"); TGBridge.error("ServerCloser: #bug @NaAlOH4 定时器到点时发现服务器有人。这不应发生,因为定时器本应该被打断。"); + return; } boolean httpSuccess = false; for (int i = 0; i < 3; i++) {