9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-24 09:29:23 +00:00

Updated config string getters

This commit is contained in:
Auxilor
2022-01-06 18:37:18 +00:00
parent 58247f3182
commit f2bba66d6f

View File

@@ -55,7 +55,7 @@ class ReforgesDisplay(private val plugin: ReforgesPlugin) : DisplayModule(plugin
if (reforge == null && stone == null && target != null) {
if (plugin.configYml.getBool("reforge.show-reforgable")) {
val addLore: MutableList<String> = ArrayList()
for (string in plugin.configYml.getStrings("reforge.reforgable-suffix")) {
for (string in plugin.configYml.getFormattedStrings("reforge.reforgable-suffix")) {
addLore.add(Display.PREFIX + string)
}
lore.addAll(addLore)