📝 Fix config load

This commit is contained in:
Maxlego08 2024-04-18 09:54:16 +02:00
parent 40ed6f8b37
commit 1609dca4cf
4 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,8 @@
# Unreleased
# 3.0.6
- Some fixs
- Fix /koth stop auto-completion
- Fix ``noKoth`` configuration
# 3.0.5

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.maxlego08.koth</groupId>
<artifactId>zKoth</artifactId>
<version>3.0.5</version>
<version>3.0.6</version>
<build>
<sourceDirectory>src</sourceDirectory>
<resources>

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.maxlego08.koth</groupId>
<artifactId>zKoth</artifactId>
<version>3.0.5</version>
<version>3.0.6</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>

View File

@ -63,7 +63,7 @@ public class Config {
displayMessageKothCap = configuration.getIntegerList("displayMessageKothCap");
noPlayer = configuration.getString("noPlayer", "X");
noFaction = configuration.getString("noFaction", "X");
noFaction = configuration.getString("noKoth", "X");
noKoth = configuration.getString("noKoth", "X");
schedulerMillisecond = configuration.getLong("schedulerMillisecond", 1000);
removeChestSec = configuration.getInt("removeChestSec", 120);