This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -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?
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue