Skip to content

Commit

Permalink
feat: fix wool colors for vouchers
Browse files Browse the repository at this point in the history
  • Loading branch information
98ping committed Dec 27, 2023
1 parent 0b55b81 commit 6028888
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class VoucherCommand : BaseCommand()
UUID.randomUUID(),
template,
!duration.equals("perm", ignoreCase = true),
System.currentTimeMillis() + (TimeUtil.parseTime(duration) * 1000L),
if (!duration.equals("perm", ignoreCase = true)) System.currentTimeMillis().plus(TimeUtil.parseTime(duration) * 1000L) else Long.MAX_VALUE,
false,
BukkitPunishmentFunctions.getSenderUUID(sender),
target.uuid
Expand Down

0 comments on commit 6028888

Please sign in to comment.