Disable "store xp" buttons when player has no xp
This commit is contained in:
parent
5f95f9e75a
commit
13f140ac31
@ -80,6 +80,10 @@ class EssenceStorageMenu @JvmOverloads constructor(
|
||||
it.isCreative || it.matteryPlayer?.isAndroid == true || servoSlot.item.item == MItems.ESSENCE_SERVO //|| it.itemsStream(true).anyMatch { it.item == MItems.ESSENCE_SERVO }
|
||||
}
|
||||
|
||||
storeLevels.filter {
|
||||
it.experienceProgress > 0f || it.experienceLevel > 0
|
||||
}
|
||||
|
||||
dispenseLevels.filter {
|
||||
it.isCreative || it.matteryPlayer?.isAndroid == true || servoSlot.item.item == MItems.ESSENCE_SERVO //|| it.itemsStream(true).anyMatch { it.item == MItems.ESSENCE_SERVO }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user