Obsolete RequestRecordInfo adjustments.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user