public static AddonLoader GetInstance(MinecraftHandler mc) { // DoubleLock if (instance == null) { lock (m_lock) { if (instance == null) { instance = new AddonLoader(mc); } } } instance.LoadAddons(mc); return(instance); }
public static AddonLoader GetInstance(MinecraftHandler mc) { // DoubleLock if (instance == null) { lock (m_lock) { if (instance == null) { instance = new AddonLoader(mc); } } } instance.LoadAddons(mc); return instance; }