aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandResurrect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
index eb24e7d..a969687 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
@@ -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;