3 Commits
Author SHA1 Message Date
Overlord 7b721490cb Merge tag 'v0.5.1' into develop
ci / image (42, public) (push) Successful in 4m26s
Tagging version v0.5.1 v0.5.1
2026-10-07 08:15:35 +02:00
Overlord 8a8db34b69 Merge branch 'hotfix/v0.5.1'
ci / image (42, public) (push) Successful in 17s
publish / maven (push) Successful in 2m51s
2026-10-07 08:14:14 +02:00
Overlord 28b3510c10 Fix race in ForgeTest.modsUseTheirThreadTheMainThreadAndEvents 2026-10-07 08:13:45 +02:00
+2 -1
View File
@@ -32,8 +32,9 @@ public final class ThreadMod extends Mod
public void onServerStarted()
{
this.modThread().execute(() -> {
this.log.add("work on " + Thread.currentThread().getName());
// Hand-off before the log entry: tests that see the entry know the task is queued.
this.main().execute(() -> this.log.add("result on " + Thread.currentThread().getName()));
this.log.add("work on " + Thread.currentThread().getName());
});
}