lore entry changes

This commit is contained in:
Kino 2017-11-21 19:04:16 -05:00
parent 7413b10c42
commit c31debe0d6

View file

@ -18,7 +18,7 @@ public class AetherLore
public static String getLoreEntry(ItemStack stack)
{
ResourceLocation location = new ResourceLocation(stack.getItem().getRegistryName().getResourceDomain(), "lore/" + stack.getUnlocalizedName().replace("item.", "") + ".txt");
ResourceLocation location = new ResourceLocation(stack.getItem().getRegistryName().getResourceDomain(), "lore/" + stack.getUnlocalizedName().replace("item.", "").replace("tile.", "").replace(".", "_") + ".txt");
IResource iresource = null;
try