Declare p right away

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

View File

@ -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();