build: compile directly for Java 8

Keep modern java out of that for now, it make build script too complicated as long as scala still here to force J8 path
This commit is contained in:
Algent committed 2026-09-15 22:48:00 +02:00
1 parent d3f1b561a3
commit 12eb146d02
14 files changed
+376 -330

No files matched your search

@@ -9,9 +9,10 @@ final class TMicroOcclusionLogic {
private TMicroOcclusionLogic() {}
static boolean occlusionTest(TMicroOcclusion part, TMultiPart next) {
if (!(next instanceof TMicroOcclusion other)) {
if (!(next instanceof TMicroOcclusion)) {
return true;
}
TMicroOcclusion other = (TMicroOcclusion) next;
int shape1 = MicroOcclusion$.MODULE$.shapePriority(part.getSlot());
int shape2 = MicroOcclusion$.MODULE$.shapePriority(other.getSlot());
if (other.getSize() + part.getSize() > 8) {