diff --git a/src/kvetinac97/Main.php b/src/kvetinac97/Main.php index e0ed3ba..8188db4 100644 --- a/src/kvetinac97/Main.php +++ b/src/kvetinac97/Main.php @@ -162,7 +162,7 @@ public function endQuiz(){ $players_played = \count($this->quiz_players); foreach ($this->quiz_players as $how => $player){ if ($how == "wrong"){ - if ($this->cfg->get("lose_commands") !== false){ + if ($this->cfg->get("lose_commands") !== false and !($player->hasPermission("eq.lose"))){ foreach ($this->cfg->get("lose_commands") as $com){ $this->getServer()->getPluginManager()->dispatchCommand(new ConsoleCommandSender,\str_replace("%PLAYER",$player,$com)); }