Skip to content

Commit

Permalink
Add a check to FabricApisProcessor.kt for the FLK replacement warn (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstMegaGame4 authored Feb 6, 2024
1 parent 6bd5113 commit 83669e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class FabricApisProcessor : LogProcessor() {
override suspend fun process(log: Log) {
val fabricApi = log.getMod("fabric")
val fabricLanguageKotlin = log.getMod("fabric-language-kotlin")
val quiltStandardLibraries = log.getMod("qsl")

if (fabricApi != null) {
log.hasProblems = true
Expand All @@ -31,7 +32,7 @@ public class FabricApisProcessor : LogProcessor() {
)
}

if (fabricLanguageKotlin != null) {
if (fabricLanguageKotlin != null && quiltStandardLibraries != null) {
log.hasProblems = true

log.addMessage(
Expand Down

0 comments on commit 83669e7

Please sign in to comment.