Browse Source

Update Main.php

pull/4/head
XShockinFireX 3 years ago
parent
commit
d723eba1f6
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/Ad5001/UHC/Main.php

+ 3
- 3
src/Ad5001/UHC/Main.php View File

@@ -5,7 +5,7 @@
# | | | | __ | |
# | |__| | | | | |____
# \____/|_| |_|\_____|
# The most customisable UHC plugin for Minecraft PE !
# The most customisable UHC plugin for Minecraft PE!
namespace Ad5001\UHC ;
use pocketmine\command\CommandSender;
use pocketmine\command\Command;
@@ -150,7 +150,7 @@ switch($cmd->getName()){
$player = $this->getServer()->getPlayer($args[1]);
$sender->teleport(new Vector3($player->x, $player->y, $player->z), $player->yaw, $player->pitch);
} else {
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exists");
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exist!");
}
} else {
$sender->sendMessage(self::PREFIX . "Usage: /uhc tp <player>");
@@ -185,4 +185,4 @@ switch($cmd->getName()){
}
return false;
}
}
}

Loading…
Cancel
Save