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

@ -3,7 +3,7 @@ using Server.Network;
namespace Server.Misc
{
public static class Paperdoll
public class Paperdoll
{
public static void Initialize()
{
@ -13,22 +13,21 @@ namespace Server.Misc
public static void EventSink_PaperdollRequest(PaperdollRequestEventArgs e)
{
Mobile beholder = e.Beholder;
NetState ns = beholder.NetState;
Mobile beheld = e.Beheld;
Packets.SendDisplayPaperdoll(ns, beholder, Titles.ComputeTitle(beholder, beheld),
beheld.AllowEquipFrom(beholder));
beholder.Send(new DisplayPaperdoll(beheld, Titles.ComputeTitle(beholder, beheld),
beheld.AllowEquipFrom(beholder)));
if (ObjectPropertyList.Enabled)
{
List<Item> items = beheld.Items;
for (int i = 0; i < items.Count; ++i)
items[i].PropertyList.SendOPLInfo(ns);
beholder.Send(items[i].OPLPacket);
// NOTE: OSI sends MobileUpdate when opening your own paperdoll.
// It has a very bad rubber-banding affect. What positive affects does it have?
}
}
}
}
}