View difference between Paste ID: YWYfSADh and PJrwdbF3
SHOW: | | - or go back to the newest paste.
1
@EventHandler
2-
	public void onDamage(PotionSplashEvent evt) {
2+
public void onDamage(PotionSplashEvent evt) {
3-
		
3+
	byte id1 = evt.getPotion().getItem().getData().getData();
4-
		if(evt.getPotion().getItem().getData().getItemType() == Material.POTION) {
4+
	byte id2 = evt.getPotion().getItem().getData().getData();
5-
			if(evt.getPotion().getItem().getData().getData() == 32732 || evt.getPotion().getItem().getData().getData() == 32764) {
5+
6-
				//blaaa
6+
	if(evt.getPotion().getItem().getData().getItemType() == Material.POTION) {
7-
			}
7+
		if(id1 == 32732 || id2 == 32764) {
8-
			
8+
			//blaaa
9
		}
10-
	}
10+
	}
11
}