Remove duplicate function

This commit is contained in:
Ethan Lane 2024-05-15 17:59:38 +01:00
parent 25d099928f
commit 0504598518

View file

@ -17,10 +17,6 @@ export default class User extends AppBaseEntity {
this.Currency += amount; this.Currency += amount;
} }
public AddCurrency(amount: number) {
this.Currency += amount;
}
public RemoveCurrency(amount: number): boolean { public RemoveCurrency(amount: number): boolean {
if (this.Currency < amount) return false; if (this.Currency < amount) return false;