getVar('npc') -> getNPCType()

This commit is contained in:
2020-05-09 23:18:47 +09:00
parent 2e7a5c6244
commit da9d59443b
21 changed files with 51 additions and 47 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class DyingMessage{
}
$this->general = $general;
$this->name = $general->getName();
$this->npc = $general->getVar('npc');
$this->npc = $general->getNPCType();
if($general->getVar('owner') > 0 && $general->getVar('startage') - $general->getVar('age') > 1){
$this->realName = $general->getVar('owner_name');
}