Kick interval can be disabled with '-1'

Fixes #1356
This commit is contained in:
TfT_02 2013-08-09 13:36:04 +02:00
parent 37e3bfe7d9
commit fcb8909a54

View File

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