mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Revert accidental .toPath() call with ModUtils.isMod
This commit is contained in:
@@ -73,7 +73,7 @@ public final class ModUtils {
|
||||
|
||||
public static boolean shouldRemapMod(Logger logger, File input, Object id, ModPlatform platform, String config) {
|
||||
if (ZipUtils.contains(input.toPath(), "architectury.common.marker")) return true;
|
||||
if (isMod(input.toPath(), platform)) return true;
|
||||
if (isMod(input, platform)) return true;
|
||||
|
||||
if (platform == ModPlatform.FORGE) {
|
||||
logger.lifecycle(":could not find forge mod in " + config + " but forcing: {}", id);
|
||||
|
||||
Reference in New Issue
Block a user