diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index f4ebff3..ac7e7b7 100644 Binary files a/TwosideKeeper.jar and b/TwosideKeeper.jar differ diff --git a/src/sig/plugin/TwosideKeeper/TwosideKeeper.java b/src/sig/plugin/TwosideKeeper/TwosideKeeper.java index bfe313d..3bea378 100644 --- a/src/sig/plugin/TwosideKeeper/TwosideKeeper.java +++ b/src/sig/plugin/TwosideKeeper/TwosideKeeper.java @@ -2724,15 +2724,14 @@ public class TwosideKeeper extends JavaPlugin implements Listener { } } - if (e instanceof Player) { - log("Damage reason is "+ev.getCause().toString(),4); - final Player p = (Player)e; + if (e instanceof LivingEntity) { + LivingEntity l = (LivingEntity)e; int poisonlv = 0; - if (p.hasPotionEffect(PotionEffectType.POISON)) { - for (int j=0;j