mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-19 11:59:08 +00:00
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:
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) {
|
||||
|
||||
Reference in new issue
Block a user