From 0606f16a113d7dc6894d5630a222529204a18afd Mon Sep 17 00:00:00 2001 From: GJ Date: Wed, 4 Jul 2012 15:38:09 -0400 Subject: [PATCH] pm is lazy too. --- src/main/java/com/gmail/nossr50/mcMMO.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 17cfeed46..f3823ba2e 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -148,16 +148,16 @@ public class mcMMO extends JavaPlugin { Users.loadUsers(); } - PluginManager pm = getServer().getPluginManager(); + PluginManager pluginManager = getServer().getPluginManager(); //Register events - pm.registerEvents(playerListener, this); - pm.registerEvents(blockListener, this); - pm.registerEvents(entityListener, this); - pm.registerEvents(worldListener, this); + pluginManager.registerEvents(playerListener, this); + pluginManager.registerEvents(blockListener, this); + pluginManager.registerEvents(entityListener, this); + pluginManager.registerEvents(worldListener, this); if (configInstance.getHardcoreEnabled()) { - pm.registerEvents(hardcoreListener, this); + pluginManager.registerEvents(hardcoreListener, this); } PluginDescriptionFile pdfFile = getDescription(); @@ -198,7 +198,7 @@ public class mcMMO extends JavaPlugin { Graph graph = metrics.createGraph("Percentage of servers using timings"); - if (pm.useTimings()) { + if (pluginManager.useTimings()) { graph.addPlotter(new Metrics.Plotter("Enabled") { @Override public int getValue() {