Skip to content

Commit

Permalink
fix: issue on turkish locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamalam360 committed Jul 24, 2023
2 parents 9796eb0 + e5d1365 commit b5c0563
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 19 deletions.
8 changes: 2 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
## Changelog

### Features
- Fix a crash on Turkish locales.

### Fixes

Closed issues: None.

[Full Changelog](https://github.com/JamCoreModding/jam-lib/compare/...)
[Full Changelog](https://github.com/JamCoreModding/jam-lib/compare/0.6.0+1.19.4...0.6.1+1.19.4)
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
plugins {
id("fabric-loom") version "1.1-SNAPSHOT"
id("fabric-loom") version "1.2-SNAPSHOT"
id("io.github.juuxel.loom-quiltflower") version "1.+"
id("io.github.p03w.machete") version "1.+"
id("org.cadixdev.licenser") version "0.6.+"
}

apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/01c1aa38aa288e02f099130a998628883076ff88/publishing.gradle.kts")
apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/01c1aa38aa288e02f099130a998628883076ff88/misc.gradle.kts")
apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/7fc230a4e87b94d533ca3696cc1887bd2650a0ce/publishing.gradle.kts")
apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/7fc230a4e87b94d533ca3696cc1887bd2650a0ce/misc.gradle.kts")

val mod_version: String by project

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ org.gradle.jvmargs=-Xmx4G
org.gradle.parallel=true

archive_base_name=jamlib
mod_version=0.6.0+1.19.4
release_name=V0.6.0 [1.19.4]
mod_version=0.6.1+1.19.4
release_name=V0.6.1 [1.19.4]
supported_versions=1.19.4
github_user=JamCoreModding
github_repo=jam-lib
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 0 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ pluginManagement {
}
}

enableFeaturePreview("VERSION_CATALOGS")

dependencyResolutionManagement {
versionCatalogs {
create("libs") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;

import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry;
import net.minecraft.block.Block;
Expand Down Expand Up @@ -317,7 +315,7 @@ private static Identifier getIdentifier(String modId, Field f) {
if (f.isAnnotationPresent(WithIdentifier.class)) {
path = f.getAnnotation(WithIdentifier.class).value();
} else {
path = f.getName().toLowerCase();
path = f.getName().toLowerCase(Locale.ROOT);
}

return new Identifier(modId, path);
Expand Down

0 comments on commit b5c0563

Please sign in to comment.