Guest User

Untitled

a guest
Jul 23rd, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. @EventHandler
  2.     public void onDamage(PotionSplashEvent evt) {
  3.        
  4.         if(evt.getPotion().getItem().getData().getItemType() == Material.POTION) {
  5.             if(evt.getPotion().getItem().getData().getData() == 32732 || evt.getPotion().getItem().getData().getData() == 32764) {
  6.                 //blaaa
  7.             }
  8.            
  9.         }
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment