I am trying to give a permanent potion effect per permission. I have this: Code: if(player.hasPermission("effect.haste")){ player.addPotionEffect(new PotionEffect(PotionEffectType.FAST_DIGGING, 120000, 1)); this does give the potion effect, however it gives instead of Haste 1 permanent, Haste 2 permanent. Tried this with other potion effects only ones it doesn't effect are Absorption and Health Boost
Kilovice Code:java player.addPotionEffect(new PotionEffect(PotionEffectType.FAST_DIGGING, 999999, 0)); 0 = power 1 1 = power 2 2 = power 3 etc.
Dubehh well I suppose this makes quite a bit more sense haha, thanks! didn't know that's how this works