public function testPermissionSilent(CommandSender $target) { if (!parent::testPermissionSilent($target)) { return false; } if (!$target instanceof Player) { return false; } $user = $this->getMain()->getUserByPlayer($target); if ($user === null) { return false; } return $this->hasPerm($user); }