public function __construct($player, XEcon $main) { $this->ent = $main->getPlayerEnt($player, true, true); }