From 9f6e7b49bee7d5238ed06ee2560b7f2ade57b110 Mon Sep 17 00:00:00 2001 From: bushtail Date: Mon, 15 May 2023 12:32:28 +0000 Subject: [PATCH] Improved credit gain/loss message --- .../main/core/game/system/command/sets/ModerationCommandSet.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/core/game/system/command/sets/ModerationCommandSet.kt b/Server/src/main/core/game/system/command/sets/ModerationCommandSet.kt index 65d17482b..13d0d9e79 100644 --- a/Server/src/main/core/game/system/command/sets/ModerationCommandSet.kt +++ b/Server/src/main/core/game/system/command/sets/ModerationCommandSet.kt @@ -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)}.") }