Fix compile issue on 1.19.2

This commit is contained in:
embeddedt 2023-04-27 15:29:27 -04:00
parent 9284aa39d5
commit e6b7edc180
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -42,7 +42,7 @@ public class ClassInfoManager {
// Clear manifest entries
int numManifestsCleared = 0;
for(IModFileInfo mod : ModList.get().getModFiles()) {
Manifest manifest = mod.getFile().getSecureJar().getManifest();
Manifest manifest = mod.getFile().getSecureJar().moduleDataProvider().getManifest();
if(manifest.getEntries() instanceof HashMap<String, Attributes> entryMap) {
for (Map.Entry<String, Attributes> entry : entryMap.entrySet()) {
Attributes attributes = entry.getValue();