Remove a reference to ButtonInfo

This commit is contained in:
Username404-59 2021-05-14 23:42:46 +02:00
parent 3ccee1aa6f
commit a023f93b87
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 0 additions and 2 deletions

View File

@ -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)
}
}