[Solved] PlayerInteractBlockEvent firing twice

Hi again. I have a new issue now. When I interact with a block (Use) with no items in my hand or with a block it works fine, but if I have an item in my hand, for example a stick, the event fires twice (I get two times the “click” message). It doesn’t happen with the ATTACK interact type, only with USE

Code:

@Subscribe
public void onPlayerInteractBlock(PlayerInteractBlockEvent event) {
    event.getPlayer().sendMessage(Texts.of("Click!"));
}

Please check the reported issues list first

1 Like

Ok, I fixed it. Thanks and sorry for the double report :wink: