fixed try-times <!> = try-times+1 bug

This commit is contained in:
2026-06-08 13:36:22 +08:00
parent c234b76e78
commit 13c4c19add
+1 -1
View File
@@ -74,7 +74,7 @@ end
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
def main_once
chkrslts = []
(0..TRY_TIMES).each do
(0...TRY_TIMES).each do
chkrslt = ServerStatusDetector::MinecraftServer.self_diag
chkrslts.append(chkrslt)
end