aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands/CommandSource.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-09-13 15:31:29 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-09-13 15:31:29 -0600
commit2a6465534d7d652f1adb694c9e688ad3ce87fa11 (patch)
treea322e344102566ea0ad5bcaafdf744b69e532f66 /src/net/brysonsteck/Resurrection/commands/CommandSource.java
parentddb4587eb810e4af760068666353dff7a9962352 (diff)
downloadresurrection-2a6465534d7d652f1adb694c9e688ad3ce87fa11.tar
resurrection-2a6465534d7d652f1adb694c9e688ad3ce87fa11.tar.gz
resurrection-2a6465534d7d652f1adb694c9e688ad3ce87fa11.tar.bz2
found parsesettings bug
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands/CommandSource.java')
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandSource.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandSource.java b/src/net/brysonsteck/Resurrection/commands/CommandSource.java
index ecab174..92e51c6 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandSource.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandSource.java
@@ -10,6 +10,11 @@ import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitRunnable;
public class CommandSource implements CommandExecutor {
+ boolean debug;
+
+ public CommandSource(String debug) {
+ this.debug = Boolean.parseBoolean(debug);
+ }
@Override
public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) {