Skip to content

Commit

Permalink
fix feather gen 2 in joined
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Aug 22, 2024
1 parent 6408512 commit 2e65971
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ class MappingsProvider(project: Project, minecraft: MinecraftConfig, subKey: Str

override fun feather(build: Int, key: String, action: MappingEntry.() -> Unit) {
unimined.ornitheMaven()
val vers = if (splitUnmapped) {
if (envType == EnvType.JOINED) throw UnsupportedOperationException("Feather mappings are not supported in joined environments before 1.2.5")
val vers = if (splitUnmapped && ornitheGenVersion < 2) {
if (envType == EnvType.JOINED) throw UnsupportedOperationException("Feather mappings are not supported in joined environments before 1.3")
"${minecraft.version}-${envType.name.lowercase()}+build.$build"
} else {
"${minecraft.version}+build.$build"
Expand Down

0 comments on commit 2e65971

Please sign in to comment.