diff --git a/classes/ShopItem.php b/classes/ShopItem.php index 277d21e..048b794 100644 --- a/classes/ShopItem.php +++ b/classes/ShopItem.php @@ -4,7 +4,7 @@ class ShopItem extends Item { public function printInfo() { - if (self::printControls(true)) $this->maxdur = 0; + if ($this->printControls()) $this->maxdur = 0; parent::printBaseInfo(); parent::printRequirements();