mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Fix up some stuff with resource packs, so the guilist works properly.
This commit is contained in:
1 parent
1d1ec57909
commit
58c78560fa
5 files changed
+35
-59
No files matched your search
@@ -433,8 +433,8 @@ public class GuiModList extends GuiScreen
|
||||
Pair<ResourceLocation, Dimension> logoData = selectedMod.getLogoFile().map(logoFile->
|
||||
{
|
||||
TextureManager tm = mc.getTextureManager();
|
||||
ResourcePackInfoClient pack = ResourcePackLoader.getResourcePackInfo(selectedMod.getModId());
|
||||
if (pack == null) pack = ResourcePackLoader.getResourcePackInfo("forge");
|
||||
ResourcePackInfoClient pack = ResourcePackLoader.getResourcePackInfoForModId(selectedMod.getModId());
|
||||
if (pack == null) pack = ResourcePackLoader.getResourcePackInfoForModId("forge");
|
||||
try
|
||||
{
|
||||
NativeImage logo = null;
|
||||
|
||||
Reference in new issue
Block a user