This commit is contained in:
小白
2023-08-18 01:37:28 +08:00
parent a9bdee0ea2
commit 9df652dfbc
2 changed files with 3 additions and 3 deletions
@@ -105,9 +105,9 @@ abstract class ShopItem(
.replace("\${price}", price.toString())
.replace("\${money}", currency.getMoney(player).toString())
.replace("\${price64}", (price * 64).toString())
.replace("\${limit}", limitPlayer.toString())
.replace("\${limit}", getLimitPlayer(player).toString())
.replace("\${allLimit}", limitServer.toString())
.replace("\${limit-player}", (limitPlayer - playerLimit).toString())
.replace("\${limit-player}", (getLimitPlayer(player) - playerLimit).toString())
.replace("\${limit-server}", (limitServer - serverLimit).toString())
if (shop.getType() == Shop.ShopType.SELL) {
val priceAll = (player.inventory.howManyItems {