Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onDamage(PotionSplashEvent evt) {
- if(evt.getPotion().getItem().getData().getItemType() == Material.POTION) {
- if(evt.getPotion().getItem().getData().getData() == 32732 || evt.getPotion().getItem().getData().getData() == 32764) {
- //blaaa
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment