update to more recent Forge (GUI factory changes)

This commit is contained in:
octarine-noise
2017-08-12 18:19:25 +02:00
parent f145ff221e
commit e29d224df4
5 changed files with 17 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ class NonVerboseArrayEntry(
init {
stripTooltipDefaultText(toolTip as MutableList<String>)
val shortDefaults = I18n.format("${configElement.languageKey}.arrayEntry", configElement.defaults.size)
toolTip.addAll(mc.fontRendererObj.listFormattedStringToWidth("$AQUA${I18n.format("fml.configgui.tooltip.default", shortDefaults)}", 300))
toolTip.addAll(mc.fontRenderer.listFormattedStringToWidth("$AQUA${I18n.format("fml.configgui.tooltip.default", shortDefaults)}", 300))
}
override fun updateValueButtonText() {