mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Merge pull request #416 from hateborne/master
Making $npc->RemoveFromHateList actually work
This commit is contained in:
commit
aaca6fd2d9
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user