Use "/n " as seperator

This commit is contained in:
Antifluxfield 2017-08-21 21:28:37 +08:00 committed by GitHub
parent d5b0dcfa50
commit f6482e63ae

View file

@ -190,7 +190,7 @@ public abstract class GT_MetaBase_Item extends GT_Generic_Item implements ISpeci
@Override @Override
public final void addInformation(ItemStack aStack, EntityPlayer aPlayer, List aList, boolean aF3_H) { public final void addInformation(ItemStack aStack, EntityPlayer aPlayer, List aList, boolean aF3_H) {
String tKey = getUnlocalizedName(aStack) + ".tooltip"; String tKey = getUnlocalizedName(aStack) + ".tooltip";
String[] tStrings = GT_LanguageManager.getTranslation(tKey).split("////"); String[] tStrings = GT_LanguageManager.getTranslation(tKey).split("/n ");
for (String tString : tStrings) for (String tString : tStrings)
if (GT_Utility.isStringValid(tString) && !tKey.equals(tString)) aList.add(tString); if (GT_Utility.isStringValid(tString) && !tKey.equals(tString)) aList.add(tString);