1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-05 11:16:24 +02:00

Declare p right away

This commit is contained in:
nossr50 2020-05-01 14:43:48 -07:00
parent 7114ff02e5
commit d023b89189

@ -137,14 +137,16 @@ public class mcMMO extends JavaPlugin {
public static FixedMetadataValue metadataValue; public static FixedMetadataValue metadataValue;
public mcMMO() {
p = this;
}
/** /**
* Things to be run when the plugin is enabled. * Things to be run when the plugin is enabled.
*/ */
@Override @Override
public void onEnable() { public void onEnable() {
try { try {
p = this;
//Platform Manager //Platform Manager
platformManager = new PlatformManager(); platformManager = new PlatformManager();