From e56fd7b40109856a35f9fb6e43b08c525669713d Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 15 Jun 2020 00:36:26 +0000 Subject: [PATCH] Obsolete RequestRecordInfo adjustments for C4 branch. --- .../gameserver/network/clientpackets/RequestRecordInfo.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecordInfo.java b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecordInfo.java index c6efdca70c..c3ba2a18c4 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecordInfo.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecordInfo.java @@ -154,7 +154,10 @@ public class RequestRecordInfo extends GameClientPacket { // Update the state of the Creature object client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance final Creature obj = (Creature) object; - obj.getAI().describeStateToPlayer(player); + if (obj.hasAI()) + { + obj.getAI().describeStateToPlayer(player); + } } } }