Headless crash fix
This commit is contained in:
@@ -1126,6 +1126,7 @@ public class MapObjectives implements Iterable<MapObjective>, Eachable<MapObject
|
|||||||
public void setTexture(String textureName){
|
public void setTexture(String textureName){
|
||||||
this.textureName = textureName;
|
this.textureName = textureName;
|
||||||
|
|
||||||
|
if(headless) return;
|
||||||
if(fetchedRegion == null) fetchedRegion = new TextureRegion();
|
if(fetchedRegion == null) fetchedRegion = new TextureRegion();
|
||||||
lookupRegion(textureName, fetchedRegion);
|
lookupRegion(textureName, fetchedRegion);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
archash=25e8455084
|
archash=f2ffd0e34f
|
||||||
|
|||||||
Reference in New Issue
Block a user