corpse packet fixes
This commit is contained in:
parent
2a9b547f7b
commit
5e2fb90a53
2 changed files with 87 additions and 3 deletions
|
|
@ -866,10 +866,18 @@ namespace Server.Items
|
|||
{
|
||||
base.SendInfoTo( state, sendOplPacket );
|
||||
|
||||
if ( ItemID == 0x2006 )
|
||||
if (((Body)Amount).IsHuman && ItemID == 0x2006)
|
||||
{
|
||||
state.Send( new CorpseContent( state.Mobile, this ) );
|
||||
state.Send( new CorpseEquip( state.Mobile, this ) );
|
||||
if (state.ContainerGridLines)
|
||||
{
|
||||
state.Send(new CorpseContent6017(state.Mobile, this));
|
||||
}
|
||||
else
|
||||
{
|
||||
state.Send(new CorpseContent(state.Mobile, this));
|
||||
}
|
||||
|
||||
state.Send(new CorpseEquip(state.Mobile, this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue