forked from Ad5001/UHC
Update UHCWorld.php
This commit is contained in:
parent
d723eba1f6
commit
028a8e6c09
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
# | | | | __ | |
|
# | | | | __ | |
|
||||||
# | |__| | | | | |____
|
# | |__| | | | | |____
|
||||||
# \____/|_| |_|\_____|
|
# \____/|_| |_|\_____|
|
||||||
# The most customisable UHC plugin for Minecraft PE !
|
# The most customisable UHC plugin for Minecraft PE!
|
||||||
namespace Ad5001\UHC ;
|
namespace Ad5001\UHC ;
|
||||||
use pocketmine\command\CommandSender;
|
use pocketmine\command\CommandSender;
|
||||||
use pocketmine\command\Command;
|
use pocketmine\command\Command;
|
||||||
|
@ -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