From cb1a1cc56eb18557c0fe20f0c0fcf520681f9d69 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Thu, 2 Nov 2017 21:04:29 +0100 Subject: [PATCH] Set default game rule of timeUntilKickOfflinePlayer to 0; resolves #327 --- .../java/io/github/dre2n/dungeonsxl/game/GameRuleProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/dre2n/dungeonsxl/game/GameRuleProvider.java b/src/main/java/io/github/dre2n/dungeonsxl/game/GameRuleProvider.java index 5d83e754..f7fe668d 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/game/GameRuleProvider.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/game/GameRuleProvider.java @@ -68,7 +68,7 @@ public class GameRuleProvider { DEFAULT_VALUES.timeToNextLoot = 0; DEFAULT_VALUES.timeToNextWave = 10; DEFAULT_VALUES.timeToFinish = -1; - DEFAULT_VALUES.timeUntilKickOfflinePlayer = -1; + DEFAULT_VALUES.timeUntilKickOfflinePlayer = 0; /* Requirements and rewards */ DEFAULT_VALUES.requirements = new ArrayList<>();