RequestTargetActionMenu should only target auto attackable targets.
This commit is contained in:
@@ -50,7 +50,10 @@ public class RequestTargetActionMenu implements IClientIncomingPacket
|
||||
{
|
||||
if (_objectId == object.getObjectId())
|
||||
{
|
||||
player.setTarget(object);
|
||||
if (object.isAutoAttackable(player))
|
||||
{
|
||||
player.setTarget(object);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user