We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a9575 commit db16f47Copy full SHA for db16f47
src/PvPScript.cpp
@@ -78,6 +78,9 @@ class PvPScript : public PlayerScript
78
79
bool CheckConditions(Player* killer, Player* killed)
80
{
81
+ if (!killer || !killed)
82
+ return false;
83
+
84
//if killer has same IP as death player do not drop loot as its cheating!
85
if (spawnchestIP)
86
if (killer->GetSession()->GetRemoteAddress() == killed->GetSession()->GetRemoteAddress())
0 commit comments