Make sure the server can load client-side mod's for syncing

This commit is contained in:
Frank 2021-08-20 01:52:37 +02:00
parent 14d3c18945
commit 7eb44ebb82
2 changed files with 6 additions and 1 deletions

View file

@ -104,6 +104,11 @@ public class ModUtil {
.getVersion()
.toString();
}
//not found in loaded mods, lets check the local mods folder
final ModInfo mi = getModInfo(modID, false);
if (mi!=null) return mi.getVersion();
return "0.0.0";
}