File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
java/pro/cloudnode/smp/bankaccounts Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public boolean integrationsVaultEnabled() {
132132
133133 // starting-balance
134134 public @ NotNull Optional <@ NotNull BigDecimal > startingBalance () {
135- if (Objects .requireNonNull (config .getString ("starting-balance" )).equalsIgnoreCase ("null " ))
135+ if (Objects .requireNonNull (config .getString ("starting-balance" )).equalsIgnoreCase ("false " ))
136136 return Optional .empty ();
137137 else return Optional .of (new BigDecimal (Objects .requireNonNull (config .getString ("starting-balance" ))));
138138 }
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ currency:
5252 format : " #,##0.00"
5353
5454# Starting balance
55- # Min value is 0. Set to `null` to disable creating an account on join.
55+ # Min value is 0. Set to false to disable creating an account on join.
5656# If the Vault integration is enabled and this is set to `null`, an account with 0 balance will be created regardless.
57- starting-balance : 0
57+ starting-balance : false
5858
5959# Server account
6060server-account :
You can’t perform that action at this time.
0 commit comments