Extinguish player on fire

Discussion in 'Spigot Plugin Development' started by LazerShadow, Dec 7, 2015.

  1. How do I 'extinguish' a player that is on fire? I've already tried
    player.setFireTicks(0);
     
  2. Have you confirmed that you have the correct player? setFireTicks(0) should do it... What if you set it to 1? Does it then go out 50ms later?
     
  3. You already casted the player correct? If it's a command, you can check with Player player = (Player) sender; If it's an event you could do event.getplayer and then do what your doing. Sorry I just need your full code.
     
    #3 EvanTheSurfer, Dec 8, 2015
    Last edited: Dec 8, 2015