Oh so nice and clean.
This commit is contained in:
parent
36c8d217c8
commit
541c6d2e0a
@ -21,22 +21,10 @@ import com.massivecraft.mcore4.util.Txt;
|
||||
|
||||
public class MCore extends JavaPlugin
|
||||
{
|
||||
InternalListener listener;
|
||||
|
||||
// -------------------------------------------- //
|
||||
// DERP
|
||||
// -------------------------------------------- //
|
||||
|
||||
public static Random random = new Random();
|
||||
public static Gson gson = getGsonBuilder().create();
|
||||
|
||||
@Override
|
||||
public void onDisable()
|
||||
{
|
||||
// Avoid memleak by clearing ???
|
||||
// Or will this trigger errors???
|
||||
//Persist.getRealms().clear();
|
||||
}
|
||||
InternalListener listener;
|
||||
|
||||
@Override
|
||||
public void onEnable()
|
||||
|
@ -66,11 +66,6 @@ public abstract class MPlugin extends JavaPlugin implements Listener
|
||||
this.persist.saveAll();
|
||||
Persist.instances.remove(this.persist);
|
||||
|
||||
this.cmd = null;
|
||||
this.persist = null;
|
||||
this.one = null;
|
||||
this.lib = null;
|
||||
|
||||
log("Disabled");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user