fixed try-times <!> = try-times+1 bug
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user