aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-06-06 12:22:07 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-06-06 12:22:07 -0600
commite6010bdb97612b02d2a2297335eb18fd458f6fb8 (patch)
tree1bc06a942aad24f60f43875eb026df5e20345f71 /src/net/brysonsteck/Resurrection/commands
parente8f9bab8af6bc8fdee1236b9e2b01c03d6dfd726 (diff)
downloadresurrection-e6010bdb97612b02d2a2297335eb18fd458f6fb8.tar
resurrection-e6010bdb97612b02d2a2297335eb18fd458f6fb8.tar.gz
resurrection-e6010bdb97612b02d2a2297335eb18fd458f6fb8.tar.bz2
fixed boolean error
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands')
-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;