Skip to content

Commit

Permalink
Fix wrong project side detection
Browse files Browse the repository at this point in the history
  • Loading branch information
juraj-hrivnak committed Feb 23, 2024
1 parent f9212ea commit c16649f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {
}

group = "teksturepako.pakku"
version = "0.0.12"
version = "0.0.13"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ object Modrinth : Platform(
side = when
{
serverSide == "required" && clientSide == "required" -> ProjectSide.BOTH
serverSide != "required" && clientSide == "required" -> ProjectSide.SERVER
serverSide == "required" && clientSide != "required" -> ProjectSide.CLIENT
serverSide != "required" && clientSide == "required" -> ProjectSide.CLIENT
serverSide == "required" && clientSide != "required" -> ProjectSide.SERVER
else -> ProjectSide.BOTH
},
id = mutableMapOf(serialName to id),
Expand Down

0 comments on commit c16649f

Please sign in to comment.