Create a default MPlugin onEnable override
This commit is contained in:
parent
59ad607b14
commit
010d91a75d
@ -49,6 +49,14 @@ public abstract class MPlugin extends JavaPlugin implements Listener
|
||||
log(Txt.parse("=== ENABLE <g>COMPLETE <i>(Took <h>"+(System.currentTimeMillis()-timeEnableStart)+"ms<i>) ==="));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable()
|
||||
{
|
||||
if (!this.preEnable()) return;
|
||||
|
||||
this.postEnable();
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// DISABLE
|
||||
// -------------------------------------------- //
|
||||
|
Loading…
Reference in New Issue
Block a user