configured shrinkingBorder for production use

This commit is contained in:
2025-06-21 11:31:16 +02:00
parent 9ef4c2e96b
commit d71c0d768e
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@ public class ShrinkingBorderListener extends ApplianceListener<ShrinkingBorder>
String actionBarText;
if(remainingDays <= 0) {
actionBarText = "Du befindest dich in der Worldborder!";
} else if(remainingDays == 1) {
actionBarText = "Morgen ist die Worldborder hier! Ausloggen = ☠";
} else {
actionBarText = String.format("In %d Tagen ist die Worldborder hier!", remainingDays);
}

View File

@ -38,6 +38,6 @@ public class ShrinkingBorderSetting extends IntegerSetting implements Categorize
@Override
protected Integer defaultValue() {
return 1;
return 2;
}
}