release: 0.1.0-beta.1+mc1.20.6

Follow the version
* Minor changes
This commit is contained in:
Puqns67 2024-05-24 15:54:09 +08:00
parent 821dee1f07
commit 52b5a41b4b
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
3 changed files with 13 additions and 9 deletions

View File

@ -1,9 +1,14 @@
plugins {
id("java")
id("fabric-loom") version "1.6-SNAPSHOT"
id("fabric-loom") version "1.6.11"
id("idea")
}
base {
archivesName = "${properties["mod_id"]}-fabric"
version = "${properties["mod_version"]}+mc${properties["minecraft_version"]}"
}
java {
withSourcesJar()
sourceCompatibility = JavaVersion.valueOf("VERSION_${properties["java_version"]}")
@ -16,11 +21,6 @@ dependencies {
modImplementation("net.fabricmc:fabric-loader:${properties["fabric_version"]}")
}
base {
archivesName = "${properties["mod_id"]}-fabric"
version = "v${properties["mod_version"]}+mc${properties["minecraft_version"]}"
}
tasks {
processResources {
filesMatching("fabric.mod.json") {
@ -28,6 +28,10 @@ tasks {
}
}
compileJava {
options.encoding = "UTF-8"
}
jar {
from("LICENSE") {
rename { "${it}_${project.properties["mod_id"]}" }

View File

@ -1,4 +1,4 @@
# Done to increase the memory available to gradle.
# Gradle Properties
org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true
@ -10,6 +10,6 @@ fabric_version=0.15.11
# Mod Properties
mod_id=skintypefix
mod_name=Skin type fix
mod_version=0.1.0-alpha.3
mod_version=0.1.0-beta.1
mod_license=GPL-3.0-or-later
mod_description=Fix wrong skin type for some players.

View File

@ -44,7 +44,7 @@ public class SkinManagerMixin {
// If model is defaults to SLIM, and config `skipFixForSlimPlayers` is set to true,
// checks are skipped because some skins have bad pixels
if (skinModelOrigin == PlayerSkin.Model.SLIM && SkinTypeFix.CONFIG.skipFixForSlimPlayers) {
if (SkinTypeFix.CONFIG.skipFixForSlimPlayers && skinModelOrigin == PlayerSkin.Model.SLIM) {
return;
}