소스 검색

Kick interval can be disabled with '-1'

Fixes #1356
TfT_02 12 년 전
부모
커밋
fcb8909a54
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/gmail/nossr50/config/Config.java

+ 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) {