Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by crafterjuli, May 16, 2016.
can someone helps me to disable fire breaking when doing a left-click on fire?
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?
But how am i doing this? i didnt worked with that before
Pretty sure just check in a PlayerInteractEvent if #getClickedBlock is fire, if it is, cancel the event.
it isn't working with that...
My code: http://paste.endercake.com/racejamate.avrasm