This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -236,15 +236,22 @@ namespace Server.Items
|
|||
int number;
|
||||
|
||||
if (Name == null)
|
||||
{
|
||||
number = 1017085;
|
||||
}
|
||||
else
|
||||
{
|
||||
LabelTo(from, Name);
|
||||
number = 1041000;
|
||||
}
|
||||
|
||||
if (attrs.Count > 0 || Crafter != null || Name == null)
|
||||
EquipmentPackets.SendDisplayEquipmentInfo(from.NetState, this, number, Crafter, false, attrs);
|
||||
if (attrs.Count == 0 && Crafter == null && Name != null)
|
||||
return;
|
||||
|
||||
EquipmentInfo eqInfo = new EquipmentInfo(number, Crafter, false,
|
||||
attrs.ToArray());
|
||||
|
||||
from.Send(new DisplayEquipmentInfo(this, eqInfo));
|
||||
}
|
||||
|
||||
public void Cast(Spell spell)
|
||||
|
|
@ -272,4 +279,4 @@ namespace Server.Items
|
|||
|
||||
public virtual bool OnWandTarget(Mobile from, object o) => true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue