Modflower / polysit

A minimal sit mod for Fabric & Quilt using Polymer.
Mozilla Public License 2.0
8 stars 0 forks source link

Can not right-click to sit on stairs and slabs when `minecraft:light` is in the way [0.6.2 on 1.21] #8

Open SnoopyCodeX opened 4 days ago

SnoopyCodeX commented 4 days ago

Environment

To reproduce

Just take any stairs or slabs and right-click it.

Expected results

To be able to sit on stairs and/or slabs upon right-clicking it

Actual results

Not able to sit. Can only sit using /sit command while standing on the desired block to sit on.

Anything else?

No response

Ampflower commented 4 days ago

Are you using other mods? It's possible another is messing with the right-click functionality by cancelling the event before Polysit is able to get a say.

SnoopyCodeX commented 1 day ago

Found the issue, it seems that the light blocks I placed inside the house (so that I don't have to worry how I'm gonna design the lighting of the house, I just used the invisible light blocks to light the entire house) are interfering with the right click detection. Because right clicking on slabs and stairs outside the house works properly. With that, I'm closing this issue. Thank you for the immediate response tho!

Ampflower commented 1 day ago

Hm, that shouldn't be the case. I'll leave this open so I can fix up the quirk, since torches, raw light and such shouldn't interfere with whether you can sit.