mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 05:26:29 +01:00
Fix startIfElementsAtLeast not being saved; resolves #638
This commit is contained in:
parent
205a284065
commit
2bf5910222
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user