From fcb8909a54feee462d17b59566323721e0e1b8e6 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 9 Aug 2013 13:36:04 +0200 Subject: [PATCH] Kick interval can be disabled with '-1' Fixes #1356 --- src/main/java/com/gmail/nossr50/config/Config.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/Config.java b/src/main/java/com/gmail/nossr50/config/Config.java index ccaa904e9..69f33068b 100644 --- a/src/main/java/com/gmail/nossr50/config/Config.java +++ b/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) {