This repository was archived by the owner on Dec 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
kotlin/xyz/deathsgun/modmanager/update Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ import kotlin.io.path.absolutePathString
57
57
class UpdateManager {
58
58
59
59
private val logger = LogManager .getLogger(" UpdateCheck" )
60
- private val blockedIds = arrayOf(" java" , " minecraft" )
60
+ private val blockedIds = arrayOf(" java" , " minecraft" , " fabricloader " )
61
61
private val http: HttpClient = HttpClient .newBuilder().connectTimeout(Duration .ofSeconds(15 )).build()
62
62
val updates = ArrayList <Update >()
63
63
@@ -370,7 +370,7 @@ class UpdateManager {
370
370
371
371
private fun getCheckableMods (): List <ModMetadata > {
372
372
return FabricLoader .getInstance().allMods.map { it.metadata }.filter {
373
- ! it.id.startsWith(" fabric" ) &&
373
+ ! it.id.startsWith(" fabric- " ) &&
374
374
! CustomValueUtil .getBoolean(" fabric-loom:generated" , it).orElse(false ) &&
375
375
! hasDisabledUpdates(it) &&
376
376
! blockedIds.contains(it.id)
Original file line number Diff line number Diff line change 13
13
"issues" : " https://github.com/DeathsGun/ModManager/issues"
14
14
},
15
15
"icon" : " assets/modmanager/icon.png" ,
16
- "license" : " APL -2.0" ,
16
+ "license" : " Apache -2.0" ,
17
17
"environment" : " client" ,
18
18
"entrypoints" : {
19
- "client" : [
20
- {
21
- "adapter" : " kotlin" ,
22
- "value" : " xyz.deathsgun.modmanager.ModManager"
23
- }
24
- ],
25
- "modmenu" : [
26
- " xyz.deathsgun.modmanager.ModMenuEntrypoint"
19
+ "client" : [
20
+ {
21
+ "adapter" : " kotlin" ,
22
+ "value" : " xyz.deathsgun.modmanager.ModManager"
23
+ }
24
+ ],
25
+ "modmenu" : [
26
+ " xyz.deathsgun.modmanager.ModMenuEntrypoint"
27
27
]
28
28
},
29
29
"custom" : {
You can’t perform that action at this time.
0 commit comments