fix(core): Cleans up OPL code (#396)
- [X] Cleans up OPL code to simplify the calls
This commit is contained in:
parent
5882b1ab3f
commit
0b9fb9c071
6 changed files with 28 additions and 70 deletions
|
|
@ -815,16 +815,6 @@ namespace Server.Items
|
|||
ns.Send(new CorpseEquip(ns.Mobile, this));
|
||||
}
|
||||
|
||||
public override void SendInfoTo(NetState ns, bool sendOplPacket)
|
||||
{
|
||||
base.SendInfoTo(ns, sendOplPacket);
|
||||
|
||||
if (((Body)Amount).IsHuman && ItemID == 0x2006)
|
||||
{
|
||||
SendCorpseContent(ns);
|
||||
}
|
||||
}
|
||||
|
||||
public override void SendInfoTo(NetState ns, ReadOnlySpan<byte> world, Span<byte> opl)
|
||||
{
|
||||
base.SendInfoTo(ns, world, opl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue