ArchitecturyCommonJson: Fix outdated error message

This commit is contained in:
Juuz
2023-01-06 14:59:44 +02:00
parent a8b6af9270
commit e86ce5a401

View File

@@ -59,7 +59,7 @@ public final class ArchitecturyCommonJson implements ModMetadataFile {
@Override
public List<InterfaceInjectionProcessor.InjectedInterface> getInjectedInterfaces(@Nullable String modId) {
if (modId == null) {
throw new IllegalArgumentException("visitInjectedInterfaces: mod ID has to be provided for architectury.common.json");
throw new IllegalArgumentException("getInjectedInterfaces: mod ID has to be provided for architectury.common.json");
}
return getInjectedInterfaces(json, modId);