修复IA物品出售BUG
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
group=com.github.xbaimiao.shoppro
|
||||
version=1.0.6-beta
|
||||
version=1.0.6
|
||||
|
||||
@@ -36,8 +36,11 @@ class ItemsAdderShopItem(
|
||||
}
|
||||
|
||||
override fun equal(itemStack: ItemStack): Boolean {
|
||||
if (itemStack.hasItemMeta() && itemStack.itemMeta!!.hasCustomModelData()) {
|
||||
return itemStack.type == material && itemStack.itemMeta?.customModelData == custom
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
override fun vanillaItem(): ItemStack {
|
||||
return taboolib.platform.util.buildItem(material) {
|
||||
|
||||
Reference in New Issue
Block a user