Potion Effects Being Stubborn.

Discussion in 'Plugin Development' started by ShowbizLocket61, Feb 9, 2016.

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

    ShowbizLocket61

    I'm using this line:
    Code:
    ((LivingEntity)ent).addPotionEffect(new PotionEffect(PotionEffectType.POISON, 100, 0));
    It works on one server, but not the other. On one, it gives the poison, on the other, it just doesn't.

    Both are CraftBukkit 1.8.8

    Ideas why?
     
  2. Offline

    Irantwomiles

    Any errors in console? Can we see the statement that is using this line? Have you tried debugging?
     
  3. Offline

    mcdorli

    Are both of them java 7 or 8?
     
  4. Offline

    teej107

    Are the plugins you are using (if any) the same on both servers?
     
Thread Status:
Not open for further replies.

Share This Page