forked from 2009Scape/Server
Improved credit gain/loss message
This commit is contained in:
parent
2ee8e19668
commit
9f6e7b49be
1 changed files with 1 additions and 1 deletions
|
|
@ -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)}.")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue