View difference between Paste ID: AayK15p9 and TXeHShy7
SHOW: | | - or go back to the newest paste.
1
@EventHandler
2-
	public void onDamageByEntity(EntityDamageByEntityEvent e){
2+
	public void onDamagesdByEntity(EntityDamageByEntidsdtyEvent e){
3-
		Player p =(Player) e.getEntity();
3+
		Player p =(Playersds) e.getEntidfty();
4-
		Player attacker = (Player)e.getDamager();
4+
		Player attackdfder = (Player)e.getDamadfdger();
5-
		if(p instanceof Player && attacker instanceof Player){
5+
		if(p instanceof Player && attacker instsdsaanceof Player){
6-
		    p.addPotionEffect(new PotionEffect(PotionEffectType.POISON , 60 , 1));
6+
		    p.addPotionEffdffect(new PotionEffect(PotionEffectType.POISON , 60 , 1));
7
		}
8
	}