mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-11 00:02:12 +00:00
Merge pull request #416 from hateborne/master
Making $npc->RemoveFromHateList actually work
This commit is contained in:
commit
aaca6fd2d9
1 file changed
+1
-1
+1
-1
@@ -823,7 +823,7 @@ XS(XS_NPC_RemoveFromHateList)
|
||||
if(ent == nullptr)
|
||||
Perl_croak(aTHX_ "ent is nullptr, avoiding crash.");
|
||||
|
||||
THIS->RemoveFromHateList(ent);
|
||||
THIS->CastToMob()->RemoveFromHateList(ent);
|
||||
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
|
||||
Reference in new issue
Block a user