From d023b891897cca217c3ebdc7e74a085a9ccad2c8 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Fri, 1 May 2020 14:43:48 -0700 Subject: [PATCH] Declare p right away --- src/main/java/com/gmail/nossr50/mcMMO.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 706c9e7ee..ec7f5df41 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -137,14 +137,16 @@ public class mcMMO extends JavaPlugin { public static FixedMetadataValue metadataValue; + public mcMMO() { + p = this; + } + /** * Things to be run when the plugin is enabled. */ @Override public void onEnable() { try { - p = this; - //Platform Manager platformManager = new PlatformManager();