diff --git a/src/main/java/com/l2jserver/datapack/handlers/effecthandlers/instant/GetAgro.java b/src/main/java/com/l2jserver/datapack/handlers/effecthandlers/instant/GetAgro.java index 56e1b1995a15313c56bc9a82ae9a96506eef04d3..b95bdc476d308eb434c76452a6bbf31ea53736e1 100644 --- a/src/main/java/com/l2jserver/datapack/handlers/effecthandlers/instant/GetAgro.java +++ b/src/main/java/com/l2jserver/datapack/handlers/effecthandlers/instant/GetAgro.java @@ -52,7 +52,7 @@ public final class GetAgro extends AbstractEffect @Override public void onStart(BuffInfo info) { - if (info.getEffected() instanceof L2Attackable) + if ((info.getEffected() instanceof L2Attackable) && info.getEffected().hasAI() && (((L2Attackable) info.getEffected()).getMostHated() != info.getEffector())) { info.getEffected().getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, info.getEffector()); }