Kirri's Phone 1.0.1 (Forge 1.21.1)
Curse Maven Snippet
What's new
# Kirri's Phone 1.0.1
Fixes for two reports from real players: on NeoForge 26.3 "the phone closes when I press the buttons and I cannot press the icons", and on Forge 1.20.1 "the phone opens fine but my clicks go through to the world (a block in hand gets placed)".
Most likely cause (both): the right mouse button used to close the phone on any spot, even on top of an icon. Players with swapped mouse buttons (left-handed setting in Windows) or other mods remapping clicks send their "tap" as a right click, so the phone closed on the first tap and the next clicks reached the world.
- A right click on an icon or button that has no menu now counts as a normal tap. It only closes the phone on an empty area.
- Taps tolerate more mouse movement before being treated as a drag.
- The phone no longer closes because of a one-off failure to find the phone in the inventory; it needs 2 seconds in a row.
- The log now says why the phone screen closed, and warns if the game or another mod closed it unexpectedly.
- New client command
/kirrisphone debug: prints loader, versions, GUI scale, last click (button, position, what it hit) and the reason of the last close. Please paste it when reporting click problems.
This mod has no additional files