Headless crash fix

This commit is contained in:
Anuken 2024-09-18 09:02:05 -04:00
parent cd7f2459b9
commit 63e246cc9d
2 changed files with 2 additions and 1 deletions

View File

@ -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);
}

View File

@ -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