fix localization of scrolls
This commit is contained in:
parent
8d81adf258
commit
07df9298e8
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ public class ItemScroll extends Item implements IotaHolderItem {
|
|||
var ancientId = NBTHelper.getString(pStack, TAG_OP_ID);
|
||||
if (ancientId != null) {
|
||||
return Component.translatable(descID + ".of",
|
||||
Component.translatable("hexcasting.spell." + ResourceLocation.tryParse(ancientId)));
|
||||
Component.translatable("hexcasting.action." + ResourceLocation.tryParse(ancientId)));
|
||||
} else if (NBTHelper.hasCompound(pStack, TAG_PATTERN)) {
|
||||
return Component.translatable(descID);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue