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 --- src/net/brysonsteck/Resurrection/commands/CommandResurrect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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