From eec11316107edbd69d97080cebc369e042ce5183 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Mon, 13 Sep 2021 16:02:00 -0600 Subject: testing new debug mode --- src/net/brysonsteck/Resurrection/Resurrection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/brysonsteck/Resurrection/Resurrection.java') 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)); -- cgit v1.2.3