fix popup code being invalid
This commit is contained in:
parent
915f3821db
commit
4e2928dbc7
@ -195,7 +195,7 @@ abstract class MatteryScreen<T : MatteryMenu>(menu: T, inventory: Inventory, tit
|
||||
|
||||
require(indexOf != -1) { "No such panel $panel" }
|
||||
|
||||
if (indexOf == panels.size - 1) {
|
||||
if (indexOf == 0) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user