Blacklist bartworks from the main thread (#286)

Fixes #181
This commit is contained in:
Jason Mitchell authored and GitHub committed 2024-02-12 22:34:24 -08:00
1 parent ff290c19e2
commit ff65370cc5
1 file changed
+1 -1
@@ -47,7 +47,7 @@ public class AngelicaBlockSafetyRegistry {
&& (isbrh.getClass().isAnnotationPresent(ThreadSafeISBRH.class)
|| isbrh instanceof ThreadSafeISBRHFactory);
} else {
canBeOffThread = !(block.getClass().getName().startsWith("gregtech."));
canBeOffThread = !(block.getClass().getName().startsWith("gregtech.")) && !(block.getClass().getName().startsWith("com.github.bartimaeusnek."));
}
final long stamp = LOCK.writeLock();