configured shrinkingBorder for production use
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -38,6 +38,6 @@ public class ShrinkingBorderSetting extends IntegerSetting implements Categorize
|
||||
|
||||
@Override
|
||||
protected Integer defaultValue() {
|
||||
return 1;
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user