Disable Fire Breaking

Discussion in 'Spigot Plugin Development' started by crafterjuli, May 16, 2016.

  1. Hey,

    can someone helps me to disable fire breaking when doing a left-click on fire?
  2. I'm not sure if it's a BlockBreakEvent, so perhaps a PlayerInteractEvent with Action.LEFT_CLICK_BLOCK and checking if there is a fire on the side of the block that is hit?
    • Agree Agree x 1
  3. okay, thanks.
    But how am i doing this? i didnt worked with that before
    • Optimistic Optimistic x 1
  4. Pretty sure just check in a PlayerInteractEvent if #getClickedBlock is fire, if it is, cancel the event.