From 9291ab671f2fc2e21c5fc287d32b720b24987f9a Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Tue, 15 Nov 2016 01:00:11 -0500 Subject: [PATCH] aaron burr, sir --- src/alisolarflare/components/metrics/MetricsModule.java | 4 ++-- .../{PlayerLoginListener.java => PlayerJoinListener.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/alisolarflare/components/metrics/listeners/{PlayerLoginListener.java => PlayerJoinListener.java} (85%) diff --git a/src/alisolarflare/components/metrics/MetricsModule.java b/src/alisolarflare/components/metrics/MetricsModule.java index 8024426..f491d2c 100644 --- a/src/alisolarflare/components/metrics/MetricsModule.java +++ b/src/alisolarflare/components/metrics/MetricsModule.java @@ -12,7 +12,7 @@ import org.bukkit.plugin.java.JavaPlugin; import alisolarflare.components.Component; import alisolarflare.components.metrics.commands.GetMetrics; -import alisolarflare.components.metrics.listeners.PlayerLoginListener; +import alisolarflare.components.metrics.listeners.PlayerJoinListener; public class MetricsModule extends Component{ @@ -30,7 +30,7 @@ public class MetricsModule extends Component{ metricsList = metricsYml.getStringList("playerLogins"); registerCommand(plugin, new GetMetrics(this)); - registerListener(plugin, new PlayerLoginListener(this)); + registerListener(plugin, new PlayerJoinListener(this)); } private FileConfiguration loadFileConfiguration(JavaPlugin plugin, String fileName) throws FileNotFoundException, IOException, InvalidConfigurationException { diff --git a/src/alisolarflare/components/metrics/listeners/PlayerLoginListener.java b/src/alisolarflare/components/metrics/listeners/PlayerJoinListener.java similarity index 85% rename from src/alisolarflare/components/metrics/listeners/PlayerLoginListener.java rename to src/alisolarflare/components/metrics/listeners/PlayerJoinListener.java index 5baab2f..3e0adc2 100644 --- a/src/alisolarflare/components/metrics/listeners/PlayerLoginListener.java +++ b/src/alisolarflare/components/metrics/listeners/PlayerJoinListener.java @@ -6,10 +6,10 @@ import org.bukkit.event.player.PlayerJoinEvent; import alisolarflare.components.metrics.MetricsModule; -public class PlayerLoginListener implements Listener{ +public class PlayerJoinListener implements Listener{ private MetricsModule module; - public PlayerLoginListener(MetricsModule module){ + public PlayerJoinListener(MetricsModule module){ this.module = module; } @EventHandler