mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Config option implemented
This commit is contained in:
1 parent
ad32b01d85
commit
3eac9c536b
1 file changed
+6
-5
@@ -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())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user