Fix uses of uppercase "Forge" where it fails Loader.isModLoaded(modID) (#3513)

This commit is contained in:
James Mitchell authored and LexManos committed 2016-12-17 13:23:39 -08:00
1 parent 4530967009
commit 6a125ae0d4
15 files changed
+43 -33

No files matched your search

@@ -41,7 +41,7 @@ import net.minecraftforge.fml.common.ModContainer;
public class GuiSlotModList extends GuiScrollingList
{
private static final ResourceLocation VERSION_CHECK_ICONS = new ResourceLocation("forge", "textures/gui/version_check_icons.png");
private static final ResourceLocation VERSION_CHECK_ICONS = new ResourceLocation(ForgeVersion.MOD_ID, "textures/gui/version_check_icons.png");
private GuiModList parent;
private ArrayList<ModContainer> mods;
@@ -516,7 +516,7 @@ public class FMLCommonHandler
modNames.add("fml");
if (!noForge)
{
modNames.add("forge");
modNames.add(ForgeVersion.MOD_ID);
}
if (Loader.instance().getFMLBrandingProperties().containsKey("snooperbranding"))