Closed alexcastro1919 closed 4 months ago
Could you describe under which conditions right clicking non player npcs is not working? I've tried a few types and it worked for me.
I tried with CHEST_BOAT and WANDERING_TRADER and none worked
This was the condition causing the issue
if (!event.isAttack() && (event.getHand() == EquipmentSlot.HAND || event.getClickedRelativePosition() != null))
I suppose it was because getClickedRelativePosition returned not null (and obviously right click is not an attack).
Thank you!
Not working on Folia
I reverted the commit for now, will need to investigate the actual problem
As the title says, now non player npcs support right click.