1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-02-10 16:10:05 +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
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

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