fixed boolean error
This commit is contained in:
parent
e8f9bab8af
commit
e6010bdb97
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -12,7 +12,7 @@ import org.bukkit.potion.PotionEffect;
|
|||
public class CommandResurrect implements CommandExecutor {
|
||||
@Override
|
||||
public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) {
|
||||
boolean valid = (strings.length != 1);
|
||||
boolean valid = (strings.length == 1);
|
||||
|
||||
if (commandSender instanceof Player) {
|
||||
Player p = (Player) commandSender;
|
||||
|
|
Loading…
Add table
Reference in a new issue