mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 21:54:12 +07:00
Headless crash fix
This commit is contained in:
parent
cd7f2459b9
commit
63e246cc9d
@ -1126,6 +1126,7 @@ public class MapObjectives implements Iterable<MapObjective>, Eachable<MapObject
|
||||
public void setTexture(String textureName){
|
||||
this.textureName = textureName;
|
||||
|
||||
if(headless) return;
|
||||
if(fetchedRegion == null) fetchedRegion = new TextureRegion();
|
||||
lookupRegion(textureName, fetchedRegion);
|
||||
}
|
||||
|
@ -26,4 +26,4 @@ org.gradle.caching=true
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
android.enableR8.fullMode=false
|
||||
archash=25e8455084
|
||||
archash=f2ffd0e34f
|
||||
|
Loading…
Reference in New Issue
Block a user