Skip to content
This repository has been archived by the owner on May 30, 2018. It is now read-only.

Commit

Permalink
Fixed #54
Browse files Browse the repository at this point in the history
  • Loading branch information
iksaku committed Dec 30, 2014
1 parent 9a1b7f9 commit 91ee58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EssentialsPE/Commands/Warp/Warp.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function execute(CommandSender $sender, $alias, array $args){
$sender->sendMessage(TextFormat::RED . "[Error] Player not found");
return false;
}
if(!$sender->hasPermission("essentials.warps.*") && !$sender->hasPermission("essentials.warps." . $args[0])){
if(!$sender->hasPermission("essentials.warps.*") || !$sender->hasPermission("essentials.warps." . $args[0])){
$sender->sendMessage(TextFormat::RED . "[Error] You can't teleport another to that warp");
return false;
}
Expand Down

0 comments on commit 91ee58e

Please sign in to comment.