This commit is contained in:
DBotThePony 2025-01-15 22:26:59 +07:00
parent eeea537715
commit 805e760c52
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -190,7 +190,7 @@ class EnergyCableGraph : GraphNodeList<EnergyCableBlockEntity.Node, EnergyCableG
var i = 20
for (index in 0 .. 16) {
if (lastPoweredSwitchFrequency and (index shl index) != 0) {
if (lastPoweredSwitchFrequency and (1 shl index) != 0) {
i--
}
}