Improved credit gain/loss message

This commit is contained in:
bushtail
2023-05-15 12:32:28 +00:00
committed by Ryan
parent 2ee8e19668
commit 9f6e7b49be
@@ -274,7 +274,7 @@ class ModerationCommandSet : CommandSet(Privilege.MODERATOR){
if (p == null)
GameWorld.accountStorage.update(info)
else
sendMessage(p, "You have been ${if (amount > 0) "granted" else "penalized"} ${abs(amount)} credits.")
sendMessage(p, "You have been ${if (amount > 0) "granted" else "penalized"} ${abs(amount)} credit(s).")
notify(player, "Updated $username's credits to ${info.credits} by ${if (amount > 0) "adding" else "removing"} ${abs(amount)}.")
}