corpse packet fixes

This commit is contained in:
mark@runuo.com 2013-09-06 02:29:52 +00:00
parent 2a9b547f7b
commit 5e2fb90a53
2 changed files with 87 additions and 3 deletions

View file

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