mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Remove code that can pull build ID from another jar in the classpath.
This commit is contained in:
@@ -164,6 +164,7 @@ public class BuildInfo {
|
|||||||
result = getMainManifestAttribute(manifest, manifestAttrName);
|
result = getMainManifestAttribute(manifest, manifestAttrName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if (result == null && pathToForgeJar == null) {
|
if (result == null && pathToForgeJar == null) {
|
||||||
|
|
||||||
// Try to find a unique Forge jar in the class path.
|
// Try to find a unique Forge jar in the class path.
|
||||||
@@ -188,6 +189,7 @@ public class BuildInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (result == null && pathToForgeJar == null) {
|
if (result == null && pathToForgeJar == null) {
|
||||||
throw new FileNotFoundException(
|
throw new FileNotFoundException(
|
||||||
|
|||||||
Reference in New Issue
Block a user