From e6010bdb97612b02d2a2297335eb18fd458f6fb8 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 6 Jun 2021 12:22:07 -0600 Subject: fixed boolean error --- out/artifacts/Resurrection_jar/Resurrection.jar | Bin 1333930 -> 1333930 bytes .../Resurrection/commands/CommandResurrect.class | Bin 3034 -> 3034 bytes .../Resurrection/commands/CommandResurrect.java | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar index 7ee8e81..2e7d7ca 100644 Binary files a/out/artifacts/Resurrection_jar/Resurrection.jar and b/out/artifacts/Resurrection_jar/Resurrection.jar differ diff --git a/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class b/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class index 574532c..1b500ab 100644 Binary files a/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class and b/out/production/Resurrection/net/brysonsteck/Resurrection/commands/CommandResurrect.class differ 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; -- cgit v1.2.3