VersionJar is not needed. (#26)
This commit is contained in:
@@ -1335,16 +1335,6 @@
|
||||
"url": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1.13.2-forge-25.0.63",
|
||||
"name": "Minecraft Forge (version.jar)",
|
||||
"type": "VersionJar",
|
||||
"artifact": {
|
||||
"size": 16089640,
|
||||
"MD5": "0d20673fc03f9c6a60279146ee1b1a14",
|
||||
"url": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1.13.2-forge-25.0.63",
|
||||
"name": "Minecraft Forge (version.json)",
|
||||
|
||||
BIN
app/assets/images/SealCircle.ico
Normal file
BIN
app/assets/images/SealCircle.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 94 KiB |
@@ -1407,10 +1407,10 @@ class AssetGuard extends EventEmitter {
|
||||
const type = ob.getType()
|
||||
if(type === DistroManager.Types.ForgeHosted || type === DistroManager.Types.Forge){
|
||||
if(Util.mcVersionAtLeast('1.13', server.getMinecraftVersion())){
|
||||
// Read Manifest
|
||||
for(let sub of ob.getSubModules()){
|
||||
if(sub.getType() === DistroManager.Types.VersionManifest){
|
||||
const versionFile = path.join(self.commonPath, 'versions', sub.getIdentifier(), `${sub.getIdentifier()}.json`)
|
||||
resolve(JSON.parse(fs.readFileSync(versionFile, 'utf-8')))
|
||||
resolve(JSON.parse(fs.readFileSync(sub.getArtifact().getPath(), 'utf-8')))
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
@@ -190,9 +190,6 @@ class Module {
|
||||
case exports.Types.VersionManifest:
|
||||
this.artifact.path = path.join(ConfigManager.getCommonDirectory(), 'versions', this.getIdentifier(), `${this.getIdentifier()}.json`)
|
||||
break
|
||||
case exports.Types.VersionJar:
|
||||
this.artifact.path = path.join(ConfigManager.getCommonDirectory(), 'versions', this.getIdentifier(), `${this.getIdentifier()}.jar`)
|
||||
break
|
||||
case exports.Types.File:
|
||||
default:
|
||||
this.artifact.path = path.join(ConfigManager.getInstanceDirectory(), serverid, pth)
|
||||
|
||||
Reference in New Issue
Block a user