Skip to content

Commit

Permalink
Fix some wrong words
Browse files Browse the repository at this point in the history
  • Loading branch information
solo5star authored Aug 15, 2017
1 parent c511010 commit 9afa71f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/solo/swarp/command/WarpListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function _execute(CommandSender $sender, string $label, array $args) : bo
if($warp->hasDescription()){
$message .= " " . $warp->getDescription();
}else{
if($warp->hasOption()) $message .= " " . implode(", ", array_map(function($option){ return $option->__toString() . "§7"; }, $warp->getOptions()));
if($warp->hasOption()) $message .= " " . implode(", ", array_map(function($option){ return $option->__toString() . "§7"; }, $warp->getOptions()));
if($sender->isOp()) $message .= " (x=" . $warp->getX() . ", y=" . $warp->getY() . ", z=" . $warp->getZ() . ", level=" . $warp->getLevel() . ", permission=" . $warp->getPermission() . ")";
}
$sender->sendMessage($message);
Expand Down
2 changes: 1 addition & 1 deletion src/solo/swarp/command/WarpRemoveCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class WarpRemoveCommand extends SWarpCommand{
private $owner;

public function __construct(SWarp $owner){
parent::__construct("워프제거", "워프를 제거합니다.", "/워프제거 <워프명>");
parent::__construct("워프삭제", "워프를 삭제합니다.", "/워프삭제 <워프명>");
$this->setPermission("swarp.command.remove");

$this->owner = $owner;
Expand Down

0 comments on commit 9afa71f

Please sign in to comment.