diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-06-06 12:22:07 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-06-06 12:22:07 -0600 |
commit | e6010bdb97612b02d2a2297335eb18fd458f6fb8 (patch) | |
tree | 1bc06a942aad24f60f43875eb026df5e20345f71 | |
parent | e8f9bab8af6bc8fdee1236b9e2b01c03d6dfd726 (diff) | |
download | resurrection-e6010bdb97612b02d2a2297335eb18fd458f6fb8.tar resurrection-e6010bdb97612b02d2a2297335eb18fd458f6fb8.tar.gz resurrection-e6010bdb97612b02d2a2297335eb18fd458f6fb8.tar.bz2 |
fixed boolean error
-rw-r--r-- | out/artifacts/Resurrection_jar/Resurrection.jar | bin | 1333930 -> 1333930 bytes | |||
-rw-r--r-- | out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class | bin | 3034 -> 3034 bytes | |||
-rw-r--r-- | src/net/brysonsteck/Resurrection/commands/CommandResurrect.java | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar Binary files differindex 7ee8e81..2e7d7ca 100644 --- a/out/artifacts/Resurrection_jar/Resurrection.jar +++ b/out/artifacts/Resurrection_jar/Resurrection.jar diff --git a/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class b/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class Binary files differindex 574532c..1b500ab 100644 --- a/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class +++ b/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class 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; |