FancyModLoader icon indicating copy to clipboard operation
FancyModLoader copied to clipboard

`IModLanguageProvider#loadMod` signature is really weird

Open Technici4n opened this issue 2 years ago • 0 comments

The signature is:

    interface IModLanguageLoader {
        <T> T loadMod(IModInfo info, ModFileScanData modFileScanResults, ModuleLayer layer);
    }

however T should actually be ModContainer, which is NOT part of the SPI. A bit tricky to handle I think.

Technici4n avatar Jan 15 '24 23:01 Technici4n