Fixed Crosshair attack indicator texture issue Closes #5442

Add friendlier error message for @Mod annotations with missing mods.toml entry. Closes #5440
Remove Log4J console highlighting. As it doesn't work on many consoles, and prints invalid characters. Closes #5420
This commit is contained in:
LexManos committed 2019-02-06 18:18:01 -08:00
1 parent 39965c55ac
commit e8ae18efda
5 files changed
+13 -6

No files matched your search

@@ -219,6 +219,7 @@ public class GuiIngameForge extends GuiIngame
if (pre(CROSSHAIRS)) return;
bind(Gui.ICONS);
GlStateManager.enableBlend();
GlStateManager.enableAlphaTest();
super.renderAttackIndicator(partialTicks);
post(CROSSHAIRS);
}
@@ -159,6 +159,11 @@ public class ModLoader
return modFile.getScanResult().getTargets().entrySet().stream().
map(e-> {
try {
IModInfo info = modInfoMap.get(e.getKey());
if (info == null) {
loadingExceptions.add(new ModLoadingException(null, ModLoadingStage.CONSTRUCT, "fml.modloading.missingmetadata", null, e.getKey()));
return null;
}
return e.getValue().<ModContainer>loadMod(modInfoMap.get(e.getKey()), modClassLoader, modFile.getScanResult());
} catch (ModLoadingException mle) {
loadingExceptions.add(mle);