If a player right clicks on a block and has a block in their hand, PlayerInteractEvent fires as it should... Except that there is no Block reference – event.hasBlock() returns false and getClickedBlock() is null.
If a player right clicks on a block and has a block in their hand, PlayerInteractEvent fires as it should... Except that there is no Block reference – event.hasBlock() returns false and getClickedBlock() is null.