fixed drop exploit

This commit is contained in:
krrios 2007-09-08 07:22:59 +00:00
parent 77992e148c
commit 08f3b44f54
2 changed files with 13 additions and 10 deletions

View file

@ -964,11 +964,11 @@ namespace Server.Network
Mobile from = state.Mobile;
Item item = from.Holding;
if ( item == null )
return;
from.Holding = null;
if ( item == null || item.Deleted || item.HeldBy != from || item.Map != Map.Internal )
return;
pvSrc.Seek( 5, SeekOrigin.Current );
Mobile to = World.FindMobile( pvSrc.ReadInt32() );