Merge branch 'unlag-your-tmm-slots' into 'main'

Fix occasionally slots 'lagging' and not reading your input properly

See merge request cable-mc/cobblemon!2236
This commit is contained in:
Polymeta
2026-04-29 20:36:15 +00:00
@@ -1093,10 +1093,8 @@ class TMMachineScreen(containerMenu: TMMachineMenu, val inventory: Inventory, ti
}
override fun slotClicked(slot: Slot?, slotId: Int, mouseButton: Int, type: ClickType) {
if (slot != null) {
super.slotClicked(slot, slotId, mouseButton, type)
updateHeldStackMove()
}
super.slotClicked(slot, slotId, mouseButton, type)
updateHeldStackMove()
}
override fun mouseScrolled(mouseX: Double, mouseY: Double, scrollX: Double, scrollY: Double): Boolean {