mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
Move material-abilities to the language files. They are DISPLAY ONLY. Don't use them for anything else.
This commit is contained in:
1 parent
794e953f01
commit
7f5ce21e29
6 files changed
+42
-40
No files matched your search
@@ -157,9 +157,9 @@ public class MaterialPage extends BookPage
|
||||
String ability = material.ability();
|
||||
if (!ability.equals(""))
|
||||
{
|
||||
manual.fonts.drawString(materialTrait + ": " + material.localizedAbility(), localWidth, localHeight + 120 + 10 * offset, 0);
|
||||
manual.fonts.drawString(materialTrait + ": " + ability, localWidth, localHeight + 120 + 10 * offset, 0);
|
||||
offset++;
|
||||
if (ability.equals("materialtraits.writable"))
|
||||
if(material.name().equals("Paper") || material.name().equals("Thaumium"))
|
||||
manual.fonts.drawString(extraMod, localWidth, localHeight + 120 + 10 * offset, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user