fixed drop exploit
This commit is contained in:
parent
77992e148c
commit
08f3b44f54
2 changed files with 13 additions and 10 deletions
|
|
@ -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() );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue