fix(purchasing): typo "substract"
This commit is contained in:
@@ -49,7 +49,7 @@ export class BuyArmoireOperation extends AbstractGoldItemOperation {
|
||||
result = this._experienceResult(user);
|
||||
}
|
||||
|
||||
this.substractCurrency(user, item);
|
||||
this.subtractCurrency(user, item);
|
||||
|
||||
let {message, armoireResp} = result;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ export class BuyHealthPotionOperation extends AbstractGoldItemOperation {
|
||||
user.stats.hp = 50;
|
||||
}
|
||||
|
||||
this.substractCurrency(user, item, this.quantity);
|
||||
this.subtractCurrency(user, item, this.quantity);
|
||||
|
||||
let message = this.i18n('messageBought', {
|
||||
itemText: this.item.text(this.req.language),
|
||||
|
||||
Reference in New Issue
Block a user