2
0
Эх сурвалжийг харах

Kick interval can be disabled with '-1'

Fixes #1356
TfT_02 12 жил өмнө
parent
commit
fcb8909a54

+ 2 - 2
src/main/java/com/gmail/nossr50/config/Config.java

@@ -103,8 +103,8 @@ public class Config extends AutoUpdateConfigLoader {
         }
 
         /* PARTY SETTINGS */
-        if (getAutoPartyKickInterval() < 0) {
-            reason.add("Party.AutoKick_Interval should be at least 0!");
+        if (getAutoPartyKickInterval() < -1) {
+            reason.add("Party.AutoKick_Interval should be at least -1!");
         }
 
         if (getAutoPartyKickTime() < 0) {