diff --git a/core/src/main/java/de/erethon/dungeonsxl/global/JoinSign.java b/core/src/main/java/de/erethon/dungeonsxl/global/JoinSign.java index edaf361c..4ab93fe5 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/global/JoinSign.java +++ b/core/src/main/java/de/erethon/dungeonsxl/global/JoinSign.java @@ -72,13 +72,10 @@ public abstract class JoinSign extends GlobalProtection { } else if (config.contains("maxPlayersPerGroup")) { maxElements = config.getInt("maxPlayersPerGroup"); } + startIfElementsAtLeast = config.getInt("startIfElementsAtLeast", -1); verticalSigns = (int) Math.ceil((float) (1 + maxElements) / 4); - if (startIfElementsAtLeast > 0 && startIfElementsAtLeast <= maxElements) { - startIfElementsAtLeast = config.getInt("startIfElementsAtLeast"); - } - update(); }