aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/Stratholme
diff options
context:
space:
mode:
authorKeader <keader.android@gmail.com>2018-02-08 10:05:08 -0300
committerKeader <keader.android@gmail.com>2018-02-08 10:05:08 -0300
commit5bef3e426aea37b0e7555f146037c58e7be6352d (patch)
treeab3822ce2e0e1c3e7d883e6f942f3a9973f91e3b /src/server/scripts/EasternKingdoms/Stratholme
parentb490d3f5ad6ccdfd103c8f756d2912f05b1741a0 (diff)
Core/Scripts: Fixed possible crashs related with JustDied
Diffstat (limited to 'src/server/scripts/EasternKingdoms/Stratholme')
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
index cb11ad95966..9bc3b72c3ef 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
@@ -130,7 +130,7 @@ public:
break;
}
- if (instance->GetData(TYPE_SH_QUEST))
+ if (killer && instance->GetData(TYPE_SH_QUEST))
{
if (Player* player = killer->ToPlayer())
player->KilledMonsterCredit(SH_QUEST_CREDIT);