Skip to content

Commit

Permalink
Fix missing locale in toLowerCase, added homepage and issues links (C…
Browse files Browse the repository at this point in the history
…loses #125), update to new Mod Menu API

- Fixed crash issue with certain languages like Turkish
- Updated to the latest Mod Menu API
- Added website and issues links to metadata
  • Loading branch information
Prospector committed Feb 1, 2021
1 parent aa1ba5c commit 147807b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ archive_name=cinderscapes
minecraft_version=1.16.5
yarn_mappings=1.16.5+build.3
loader_version=0.11.1
fabric_version=0.29.4+1.16
fabric_version=0.30.0+1.16

# Terraform modules
terraform_shapes_api_version=1.0.1
Expand All @@ -15,7 +15,7 @@ terraform_wood_api_version=1.0.1
# Other Things
clothconfig_version=4.8.3
autoconfig_version=3.3.1
modmenu_version=1.14.15
modmenu_version=1.16.1
vistas_version=1.0.2+build.7

# Project Metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
import net.minecraft.world.WorldAccess;
import net.minecraft.world.WorldView;

import java.util.Locale;

public class GhastlyEctoplasmBlock extends Block {
public static final EnumProperty<GhastlyEctoplasmBlock.Type> TYPE = EnumProperty.of("type", GhastlyEctoplasmBlock.Type.class);

Expand Down Expand Up @@ -78,7 +80,7 @@ public enum Type implements StringIdentifiable {

@Override
public String asString() {
return this.toString().toLowerCase();
return this.toString().toLowerCase(Locale.ROOT);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.terraformersmc.cinderscapes.integration;

import com.terraformersmc.cinderscapes.config.CinderscapesConfig;
import io.github.prospector.modmenu.api.ConfigScreenFactory;
import io.github.prospector.modmenu.api.ModMenuApi;
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
import com.terraformersmc.modmenu.api.ModMenuApi;
import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;

public class ModMenuIntegration implements ModMenuApi {
Expand Down
7 changes: 6 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"Slice"
],
"contact": {
"sources": "https://github.com/TerraformersMC/Cinderscapes"
"homepage": "https://www.curseforge.com/minecraft/mc-mods/cinderscapes",
"sources": "https://github.com/TerraformersMC/Cinderscapes",
"issues": "https://github.com/TerraformersMC/Cinderscapes/issues"
},
"license": "LGPLv3",
"icon": "assets/cinderscapes/icon.png",
Expand All @@ -42,6 +44,9 @@
"fabric": ">=0.25.0",
"minecraft": ">=1.16-"
},
"breaks": {
"modmenu": "<1.15.0"
},
"custom": {
"modupdater": {
"strategy": "curseforge",
Expand Down

0 comments on commit 147807b

Please sign in to comment.