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
|
toggled = it
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ButtonInfo
|
|
||||||
ClickGui.components.filterIsInstance<ClickBox>().find {
|
ClickGui.components.filterIsInstance<ClickBox>().find {
|
||||||
it.name!!.key == info.parent.translationKey
|
it.name!!.key == info.parent.translationKey
|
||||||
}?.buttons!!.add(this)
|
}?.buttons!!.add(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue