aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/Resurrection.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-09-13 16:02:00 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-09-13 16:02:00 -0600
commiteec11316107edbd69d97080cebc369e042ce5183 (patch)
tree77e230e6d7148fbc188f058e8cf1f5629c13b230 /src/net/brysonsteck/Resurrection/Resurrection.java
parent58ea62e82d78924930b59d75890fe480c556498a (diff)
downloadresurrection-eec11316107edbd69d97080cebc369e042ce5183.tar
resurrection-eec11316107edbd69d97080cebc369e042ce5183.tar.gz
resurrection-eec11316107edbd69d97080cebc369e042ce5183.tar.bz2
testing new debug mode
Diffstat (limited to 'src/net/brysonsteck/Resurrection/Resurrection.java')
-rw-r--r--src/net/brysonsteck/Resurrection/Resurrection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/brysonsteck/Resurrection/Resurrection.java b/src/net/brysonsteck/Resurrection/Resurrection.java
index cd40d02..01af324 100644
--- a/src/net/brysonsteck/Resurrection/Resurrection.java
+++ b/src/net/brysonsteck/Resurrection/Resurrection.java
@@ -102,7 +102,7 @@ public class Resurrection extends JavaPlugin implements Listener {
if (parseSettings.isSettingsComplete() && !fileFail) {
System.out.println("[Resurrection] Registering listeners and adding commands...");
// register listener
- this.getServer().getPluginManager().registerEvents(new PlayerListener(), this);
+ this.getServer().getPluginManager().registerEvents(new PlayerListener(parseSettings), this);
// register commands
this.getCommand("about").setExecutor(new CommandAbout(parseSettings.getSetting("debug"), pluginInfo.getVersion(), outdated));