Update the tesselator checks to allow for non main instance tesselators while still on the main thread (#106)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2023-12-30 13:00:59 -08:00
1 parent acc1f58778
commit 956f9e344e
2 files changed
+2 -2

No files matched your search

@@ -17,7 +17,7 @@ public class TessellatorManager {
}
public static boolean isMainInstance(Object instance) {
return instance == Tessellator.instance;
return instance == Tessellator.instance || isOnMainThread();
}
static {