Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. if(e.getAction() == Action.RIGHT_CLICK_AIR | e.getAction() == Action.RIGHT_CLICK_BLOCK) {
  2. if(e.getMaterial().equals(Material.GOLDEN_APPLE)) {
  3.  
  4. p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 99999, 2));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement