mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Declare p right away
This commit is contained in:
parent
7114ff02e5
commit
d023b89189
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user