Fixed beam drill speed bar not reflecting power

This commit is contained in:
Anuken
2026-03-13 23:53:13 -04:00
parent 06af1faf5b
commit b8e3a9cd7f
5 changed files with 13 additions and 24 deletions

View File

@@ -6,10 +6,10 @@ include 'desktop', 'core', 'server', 'ios', 'annotations', 'tools', 'tests'
def hasSdk = System.getenv("ANDROID_HOME") != null
def localProperties = new Properties()
if(new File(settingsDir, 'local.properties').exists()){
def properties = new Properties()
properties.load(new File(settingsDir, 'local.properties').newDataInputStream())
if(properties.containsKey("sdk.dir")) hasSdk = true
localProperties.load(new File(settingsDir, 'local.properties').newDataInputStream())
if(localProperties.containsKey("sdk.dir")) hasSdk = true
}
if(System.getenv("JITPACK") == "true") hasSdk = false
@@ -20,6 +20,10 @@ if(hasSdk){
println("No Android SDK found. Skipping Android module.")
}
if(hasProperty("localRhino") || localProperties.getOrDefault("localRhino", "false") == "true"){
includeBuild("../rhino")
}
if(!hasProperty("noLocalArc")){
if(new File(rootDir.parent, 'Arc').exists()){
println("Compiling with localArc")