Fix compile issue on 1.19.2
This commit is contained in:
parent
9284aa39d5
commit
e6b7edc180
|
|
@ -42,7 +42,7 @@ public class ClassInfoManager {
|
||||||
// Clear manifest entries
|
// Clear manifest entries
|
||||||
int numManifestsCleared = 0;
|
int numManifestsCleared = 0;
|
||||||
for(IModFileInfo mod : ModList.get().getModFiles()) {
|
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) {
|
if(manifest.getEntries() instanceof HashMap<String, Attributes> entryMap) {
|
||||||
for (Map.Entry<String, Attributes> entry : entryMap.entrySet()) {
|
for (Map.Entry<String, Attributes> entry : entryMap.entrySet()) {
|
||||||
Attributes attributes = entry.getValue();
|
Attributes attributes = entry.getValue();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user