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