fix store all not storing everything if player level is 1 and has partial level

This commit is contained in:
DBotThePony 2023-03-13 22:37:25 +07:00
parent aa14577445
commit dfa80af853
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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