Update UHCWorld.php
This commit is contained in:
parent
d723eba1f6
commit
028a8e6c09
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ class UHCWorld {
|
||||||
foreach($players as $player) {
|
foreach($players as $player) {
|
||||||
if(!in_array($player, $this->players)){
|
if(!in_array($player, $this->players)){
|
||||||
foreach($this->players as $pl) {
|
foreach($this->players as $pl) {
|
||||||
$pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} leaved the game.");
|
$pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} left the game.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue