Oh so nice and clean.

This commit is contained in:
Olof Larsson 2012-08-31 10:56:27 +02:00
parent 36c8d217c8
commit 541c6d2e0a
2 changed files with 1 additions and 18 deletions

View File

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

View File

@ -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");
}