Condition 'components != null' is always 'true'

УВЫ БЛЯТЬ НЕ ТРУ
This commit is contained in:
YuRaNnNzZZ 2023-05-11 02:24:03 +03:00
parent 4dcf06ef35
commit 24df358add
Signed by: YuRaNnNzZZ
GPG Key ID: 5F71738C85A6006D

View File

@ -37,9 +37,10 @@ open class StorageNode(private val energyDemander: IMatteryEnergyStorage? = null
return
}
for (component in components) {
to.add(component)
}
if (components != null)
for (component in components) {
to.add(component)
}
}
/**