Cache hasFilterableSlots in CombinedContainer

This commit is contained in:
DBotThePony 2025-03-14 19:40:01 +07:00
parent 3a5f37bd76
commit 01215d647c
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -76,6 +76,8 @@ class CombinedContainer<S : IContainerSlot>(containers: Stream<Pair<IEnhancedCon
.collect(ImmutableMap.toImmutableMap({ it.key }, { it.value }))
}
override val hasFilterableSlots: Boolean = super.hasFilterableSlots
override fun clearContent() {
for (container in fullCoverage) {
container.clearContent()