aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands
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
parentddb4587eb810e4af760068666353dff7a9962352 (diff)
downloadresurrection-2a6465534d7d652f1adb694c9e688ad3ce87fa11.tar
resurrection-2a6465534d7d652f1adb694c9e688ad3ce87fa11.tar.gz
resurrection-2a6465534d7d652f1adb694c9e688ad3ce87fa11.tar.bz2
found parsesettings bug
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands')
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandAbout.java2
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandBug.java3
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandHowLong.java3
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandResurrect.java3
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandSource.java5
5 files changed, 15 insertions, 1 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandAbout.java b/src/net/brysonsteck/Resurrection/commands/CommandAbout.java
index 3d16878..272b4d0 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandAbout.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandAbout.java
@@ -10,7 +10,7 @@ public class CommandAbout implements CommandExecutor {
String currentVersion;
boolean outdated;
- public CommandAbout(String currentVersion, boolean outdated) {
+ public CommandAbout(String debug, String currentVersion, boolean outdated) {
this.currentVersion = currentVersion;
this.outdated = outdated;
}
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandBug.java b/src/net/brysonsteck/Resurrection/commands/CommandBug.java
index 894fcbc..75ed5cf 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandBug.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandBug.java
@@ -11,6 +11,9 @@ import org.bukkit.scheduler.BukkitRunnable;
public class CommandBug implements CommandExecutor {
+ public CommandBug(String debug) {
+ }
+
@Override
public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) {
if (commandSender instanceof Player) {
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
index f36987a..29314d7 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
@@ -11,6 +11,9 @@ import org.bukkit.entity.Player;
public class CommandHowLong implements CommandExecutor {
+ public CommandHowLong(String debug) {
+ }
+
@Override
public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) {
if (commandSender instanceof Player) {
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
index 106cb71..9f97c29 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
@@ -12,6 +12,9 @@ import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
public class CommandResurrect implements CommandExecutor {
+ public CommandResurrect(String debug) {
+ }
+
@Override
public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) {
boolean valid = (strings.length == 1);
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) {