1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-27 11:57:38 +00:00

Time fs and peripheral operations

This commit is contained in:
Jonathan Coates
2022-12-15 22:12:53 +00:00
parent eeac86b07c
commit 4fa7f50534
8 changed files with 77 additions and 42 deletions

View File

@@ -150,7 +150,7 @@ public class ComputerTestDelegate {
lock.lockInterruptibly();
try {
var remaining = TIMEOUT;
while (remaining > 0 & tests == null) {
while (remaining > 0 && tests == null) {
tick();
if (hasTests.awaitNanos(TICK_TIME) > 0) break;
remaining -= TICK_TIME;