Fix type not being correct in certain cases

This commit is contained in:
Fierelier 2021-06-17 15:59:47 +02:00
parent 2cdf0f891e
commit d16fd58a1e

View File

@ -185,6 +185,7 @@ def processVersion(versionsPath,libraryPath,nativePath,version):
else: # dumb else: # dumb
if "natives" in library: # natives if "natives" in library: # natives
lBaseTwo = lBase.copy() lBaseTwo = lBase.copy()
lBaseTwo["type"] = "native"
if not "url" in library: if not "url" in library:
lBaseTwo["url"] = "https://libraries.minecraft.net" lBaseTwo["url"] = "https://libraries.minecraft.net"
else: else: