Fix some issues
This commit is contained in:
parent
7ccd5bcebd
commit
8051e0cfbb
8 changed files with 19 additions and 10 deletions
|
@ -26,6 +26,7 @@ package techreborn.compat.rei.rollingmachine;
|
|||
|
||||
import me.shedaniel.rei.api.EntryStack;
|
||||
import me.shedaniel.rei.plugin.crafting.DefaultCraftingCategory;
|
||||
import net.minecraft.client.resource.language.I18n;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.text.TranslatableText;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
@ -49,7 +50,7 @@ public class RollingMachineCategory extends DefaultCraftingCategory {
|
|||
|
||||
@Override
|
||||
public String getCategoryName() {
|
||||
return new TranslatableText(rebornRecipeType.getName().toString()).asString();
|
||||
return I18n.translate(rebornRecipeType.getName().toString());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue