Skip to content

Commit

Permalink
fix TranslateManager#translateMaterial starting with 'block.' on item…
Browse files Browse the repository at this point in the history
…s too
  • Loading branch information
efekos committed Aug 9, 2023
1 parent d29ede9 commit 298ed50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static TranslatableComponent translateMaterial(@NotNull Material material
if(material.isBlock()){
component.setTranslate("block.minecraft."+material.getKey().getKey());
} else if(material.isItem()){
component.setTranslate("block.minecraft."+material.getKey().getKey());
component.setTranslate("item.minecraft."+material.getKey().getKey());
}
return component;
}
Expand Down

0 comments on commit 298ed50

Please sign in to comment.