Advertisement
Guest User

Zoom

a guest
May 25th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. On verifie lorsqu'il fait clic droit si il a deja l'effet de lenteur avec le code:
  2. if(p.hasPotionEffect(PotionEffectType.SLOW)){
  3.  
  4. Ensuite si il ne l'a pas tu lui donne
  5. p.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 99999,5);
  6.  
  7. et si il l'a deja tu lui enleve avec
  8. p.removePotionEffect(PotionEffectType.SLOW);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement