Obsolete RequestRecordInfo adjustments.

This commit is contained in:
MobiusDevelopment
2020-06-15 00:02:57 +00:00
parent 0a7f937020
commit cbd3a09ff4
33 changed files with 104 additions and 135 deletions

View File

@@ -52,14 +52,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// 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;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}