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 public class MCore extends JavaPlugin
{ {
InternalListener listener;
// -------------------------------------------- //
// DERP
// -------------------------------------------- //
public static Random random = new Random(); public static Random random = new Random();
public static Gson gson = getGsonBuilder().create(); public static Gson gson = getGsonBuilder().create();
@Override InternalListener listener;
public void onDisable()
{
// Avoid memleak by clearing ???
// Or will this trigger errors???
//Persist.getRealms().clear();
}
@Override @Override
public void onEnable() public void onEnable()

View File

@ -66,11 +66,6 @@ public abstract class MPlugin extends JavaPlugin implements Listener
this.persist.saveAll(); this.persist.saveAll();
Persist.instances.remove(this.persist); Persist.instances.remove(this.persist);
this.cmd = null;
this.persist = null;
this.one = null;
this.lib = null;
log("Disabled"); log("Disabled");
} }