Remove a reference to ButtonInfo
This commit is contained in:
parent
3ccee1aa6f
commit
a023f93b87
|
@ -59,10 +59,8 @@ abstract class ButtonImpl: ColoredElement(0.0, 0.0, 73, 8, opacity = 0.60F) {
|
|||
toggled = it
|
||||
}
|
||||
}
|
||||
ButtonInfo
|
||||
ClickGui.components.filterIsInstance<ClickBox>().find {
|
||||
it.name!!.key == info.parent.translationKey
|
||||
}?.buttons!!.add(this)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue