Advertisement
Guest User

removeEffects

a guest
Jan 31st, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. public void removeEffects(Player p)
  2. {
  3. for(PotionEffect e : p.getActivePotionEffects()
  4. {
  5. p.removePotionEffect(e.getType());
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement