1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-01 10:07:56 +00:00

Fix monitor events using the wrong computer set

Fixes #2010
This commit is contained in:
Jonathan Coates
2024-11-15 18:43:28 +00:00
parent f776b17150
commit 63bdc2537c

View File

@@ -485,7 +485,7 @@ public class MonitorBlockEntity extends BlockEntity {
var monitor = getLoadedMonitor(x, y).getMonitor();
if (monitor == null) continue;
computers.forEach(fun);
monitor.computers.forEach(fun);
}
}
}