[bug] Project MMO Cannot Detect Interface is Active
SomewhatDamaged opened this issue · 6 comments
Describe the bug
Block-picking interfaces in huts are having an interaction with Project MMO.
Trying to type into the (for example) Minimum Stock text field, and starting the string with a P, opens the Project MMO interface.
This seems to be a case of PMMO needing to action its interface whenever there is a tooltip visible and those specific interfaces having tooltips.
Expected behavior
Pressing the interface key for PMMO should not cause it to come up.
To Reproduce
Steps to reproduce the behavior:
- Open builder hut interface
- Select
Minimum Stock
and clickAdd
- In the provided text box, try to type
Pickaxe
- The Project MMO interface will pop up
Versions:
Minecraft: 1.20.1
Forge: 47.1.0
BlockUI: 1.20.1-0.0.84
Domum Ornamentum: 1.20.1-1.0.104
Multipiston: 1.20.1-1.2.31
Minecolonies: 1.20.1-1.1.9
Project MMO: 1.20.1-1.0.2
Additional context
Additional information from the PMMO mod developer: Caltinor/Project-MMO-2.0#324
We do this to get tooltip lines for items: link to code, since this method provides no finer control, it would require for other mods to setup weak dependency. However it might be possible on our end to have toggleable limited tooltips (ie. such tooltips that will display block name and mod name only)
We do set the screen accordingly, but we also do display the forge tooltip yes. I am not sure what we could do on our side to prevent that.
Yeah. Fair enough. Was hoping there might be something checkable when a BlockUI interface was up, that PMMO could use to avoid interrupting those interfaces.
@SomewhatDamaged can we get info on whether this is resolved or not?
Sorry, yeah. It has been closed on PMMO issue tracker. I forgot to close here too.