You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin Shopkeepers allow to make custom entities (including signs) that when clicked open a villager trading GUI. With this mod installed clicking such a sign no longer does anything. I do not expect the mod to support "signs" as they are not villagers but it should not prevent me from clicking the sign.
Sorry for the delayed response!
I think this is because this mod modifies the behavior of opening the GUI when receiving a TradeOfferPacket, so that it only opens the GUI if you interact with a villager.
This one is to make it consistent with the implementation that encourages packets to be sent from the server side when the cursor is placed on a villager.
However, as you said, it doesn't seem to work well with entities other than villagers.
At the moment, I haven't come up with a very good solution.
I think it might work if you combine the above condition with a condition like "cancel only if the cursor is on a villager," but I'm a bit worried about race conditions. If a packet from the server arrives late after you move the cursor, I think the GUI will open when that packet arrives.
The plugin Shopkeepers allow to make custom entities (including signs) that when clicked open a villager trading GUI. With this mod installed clicking such a sign no longer does anything. I do not expect the mod to support "signs" as they are not villagers but it should not prevent me from clicking the sign.
https://dev.bukkit.org/projects/shopkeepers
The text was updated successfully, but these errors were encountered: