Revert "Updates Packets & Randomizer (#43)" (#61)

This reverts commit 179cb50557.
This commit is contained in:
Kamron Batman 2019-11-11 08:46:11 -08:00 • committed by GitHub
parent 179cb50557
commit c2ecc76457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
588 changed files with 16260 additions and 10926 deletions

View file

@ -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;
}
}
}