mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-04 22:54:44 +02:00
Declare p right away
This commit is contained in:
@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user