fix store all not storing everything if player level is 1 and has partial level
This commit is contained in:
parent
aa14577445
commit
dfa80af853
@ -125,7 +125,7 @@ class EssenceStorageScreen(menu: EssenceStorageMenu, inventory: Inventory, title
|
||||
}
|
||||
|
||||
override fun onClick(mouseButton: Int) {
|
||||
menu.storeLevels.input(minecraft?.player?.experienceLevel ?: 0)
|
||||
menu.storeLevels.input((minecraft?.player?.experienceLevel ?: 0) + 1)
|
||||
}
|
||||
|
||||
override var isDisabled: Boolean
|
||||
|
Loading…
Reference in New Issue
Block a user