help me im trying to make a event but it dosnt work

Discussion in 'Plugin Development' started by Enderkries2011, Nov 19, 2022.

Thread Status:
Not open for further replies.
  1. Offline

    Enderkries2011

    im trying to make a event that runs when u go in lava that it gives u fire res
    player.addPotionEffect(new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 200, 1));

    player.addPotionEffect(new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 200, 1));

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 20, 2022
  2. Offline

    CraftCreeper6

    Last edited: Nov 20, 2022
Thread Status:
Not open for further replies.

Share This Page