Skip to content

Commit

Permalink
Update to 1.1.1
Browse files Browse the repository at this point in the history
Fix item's translation key
  • Loading branch information
mouse0w0 committed Aug 1, 2020
1 parent 9a49b50 commit 0f87927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.


version = "1.1.0"
version = "1.1.1"
group = "com.github.mouse0w0" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "mce"

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/mouse0w0/mce/Exporter.java
Expand Up @@ -182,7 +182,7 @@ private static void refreshLanguage(String locale) {
private static final Set<String> ignoredCreativeTabs = new HashSet<>(Arrays.asList("search", "inventory", "hotbar"));

private String getTranslationKey(ItemStack item) {
return namespace + ".item." + item.getItem().getRegistryName() + "_" + item.getMetadata();
return namespace + ".item." + item.getItem().getRegistryName().getResourcePath() + "_" + item.getMetadata();
}

private String getTranslationKey(CreativeTabs creativeTabs) {
Expand Down

0 comments on commit 0f87927

Please sign in to comment.