Config option implemented
This commit is contained in:
parent
ad32b01d85
commit
3eac9c536b
1 changed files with 6 additions and 5 deletions
|
@ -21,6 +21,7 @@ package net.minecraftforge.fml;
|
|||
|
||||
import com.google.common.io.ByteStreams;
|
||||
import com.google.gson.Gson;
|
||||
import net.minecraftforge.common.ForgeConfig;
|
||||
import net.minecraftforge.fml.loading.moddiscovery.ModInfo;
|
||||
import net.minecraftforge.forgespi.language.IModInfo;
|
||||
import net.minecraftforge.versions.mcp.MCPVersion;
|
||||
|
@ -130,11 +131,11 @@ public class VersionChecker
|
|||
@Override
|
||||
public void run()
|
||||
{
|
||||
// if (!ForgeModContainer.getConfig().get(ForgeModContainer.VERSION_CHECK_CAT, "Global", true).getBoolean())
|
||||
// {
|
||||
// log.info("Global Forge version check system disabled, no further processing.");
|
||||
// return;
|
||||
// } TODO config
|
||||
if (ForgeConfig.GENERAL.disableVersionCheck.get())
|
||||
{
|
||||
LOGGER.info("Global Forge version check system disabled, no further processing.");
|
||||
return;
|
||||
}
|
||||
|
||||
for (IModInfo entry : gatherMods())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue