fix bugs
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
group=com.github.xbaimiao.shoppro
|
group=com.github.xbaimiao.shoppro
|
||||||
version=1.0.9
|
version=1.1.0
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ abstract class ShopItem : Item {
|
|||||||
.replace("\${price64}", (price * 64).toString())
|
.replace("\${price64}", (price * 64).toString())
|
||||||
.replace("\${limit}", limitPlayer.toString())
|
.replace("\${limit}", limitPlayer.toString())
|
||||||
.replace("\${allLimit}", limitServer.toString())
|
.replace("\${allLimit}", limitServer.toString())
|
||||||
.replace("\${limit-player}", playerLimit.toString())
|
.replace("\${limit-player}", (limitPlayer - playerLimit).toString())
|
||||||
.replace("\${limit-server}", (limitServer - serverLimit).toString())
|
.replace("\${limit-server}", (limitServer - serverLimit).toString())
|
||||||
if (shop.getType() == Shop.ShopType.SELL) {
|
if (shop.getType() == Shop.ShopType.SELL) {
|
||||||
val priceAll = (player.inventory.howManyItems {
|
val priceAll = (player.inventory.howManyItems {
|
||||||
|
|||||||
Reference in New Issue
Block a user