diff --git a/hwe/_admin_force_rehall.php b/hwe/_admin_force_rehall.php index 26a118ef..386f7c55 100644 --- a/hwe/_admin_force_rehall.php +++ b/hwe/_admin_force_rehall.php @@ -27,6 +27,6 @@ foreach ($db->queryFirstColumn( foreach(General::createGeneralObjListFromDB($db->queryFirstColumn('SELECT `no` FROM general WHERE npc = 0')) as $genObj){ $genObj->mergeTotalInheritancePoint(true); - applyInheritanceUser($genObj->getID()); + applyInheritanceUser($genObj->getVar('owner')); $genObj->clearInheritancePoint(); } \ No newline at end of file diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index 67d7cd58..3035a7bb 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -1029,7 +1029,7 @@ function checkEmperior() }; } $genObj->mergeTotalInheritancePoint(true); - applyInheritanceUser($genObj->getID()); + applyInheritanceUser($genObj->getVar('owner')); $genObj->clearInheritancePoint(); } diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index bd4d2c28..b232e0e4 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -652,7 +652,7 @@ class General implements iAction } $this->mergeTotalInheritancePoint(); - applyInheritanceUser($this->getID()); + applyInheritanceUser($this->getVar('owner')); $this->clearInheritancePoint(); }