Binded key in ArrayList
Solved
Support
-
fun getModName(mod: Module): String { var modTag : String = "" var modKey : String = "" if (tags.get() && mod.tag != null) { modTag += " " modKey += " > " if (!tagsArrayColor.get()) modTag += "§f" if (!tagsStyleValue.get().equals("default", true)) modTag += tagsStyleValue.get().get(0).toString() + if (tagsStyleValue.get().equals("-", true) || tagsStyleValue.get().equals("|", true)) " " else "" modTag += mod.tag if (!tagsStyleValue.get().equals("default", true) && !tagsStyleValue.get().equals("-", true) && !tagsStyleValue.get().equals("|", true)) modTag += tagsStyleValue.get().get(1).toString() modKey = Keyboard.getKeyName(mod.keyBind) } var displayName : String = mod.name + modTag + if (modKey != "NONE") " > " + modKey else "" if (lowerCaseValue.get()) displayName = displayName.toLowerCase() return displayName }
-
If you went through your code you would see that modKey is only set to the keyboard assosiated value if a tag is present.
-
@plumer-man, uh, how right way do it?
-
@funnycatmemes learning
-
@freerobuxgen2022, i try
-
@plumer-man, thank you, I was able < 3
-
-
good job