forked from mirrors/cobblemon
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:
+2
-4
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user