From bb715242162bc868a0c3d97bf6d7227b7a749875 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 12 Dec 2010 06:20:49 +0000 Subject: [PATCH] --- Scripts/Mobiles/PlayerMobile.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/Mobiles/PlayerMobile.cs b/Scripts/Mobiles/PlayerMobile.cs index 412b7661d..692569b17 100644 --- a/Scripts/Mobiles/PlayerMobile.cs +++ b/Scripts/Mobiles/PlayerMobile.cs @@ -2095,7 +2095,9 @@ namespace Server.Mobiles public override bool OnBeforeDeath() { NetState state = NetState; - state.CancelAllTrades(); + + if ( state != null ) + state.CancelAllTrades(); DropHolding();