Skip to content

Commit

Permalink
Add * support for depo legacy agian
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Aug 9, 2023
1 parent 939acf2 commit 67672cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public String onCommand(Guild guild, IMessageIO channel, User author, DBNation m
banker,
author,
guildDb.getHandler(),
PWBindings.nationOrAllianceOrGuildOrTaxId(args.get(0)),
(args.get(0).equalsIgnoreCase("*")) ? guildDb : PWBindings.nationOrAllianceOrGuildOrTaxId(args.get(0)),
args.size() == 2 ? PWBindings.alliances(guild, args.get(1)) : null,
cutOff != 0 ? cutOff : null,
flags.contains('b'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1357,8 +1357,8 @@ else if (!force) {
Boolean.FALSE.toString(),
expire == null ? null : TimeUtil.secToTime(TimeUnit.MILLISECONDS, expire),
null,
escrow_mode == null ? null : escrow_mode.name(),
String.valueOf(convertToMoney),
escrow_mode == null ? null : escrow_mode.name(),
String.valueOf(bypassChecks),
null
).toJson();
Expand Down

0 comments on commit 67672cd

Please sign in to comment.