mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-05 07:47:48 +07:00
Fixed content loading crash
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package mindustry.core;
|
||||
|
||||
import arc.files.*;
|
||||
import arc.struct.*;
|
||||
import arc.func.*;
|
||||
import arc.graphics.*;
|
||||
@ -182,6 +183,9 @@ public class ContentLoader{
|
||||
}
|
||||
if(currentMod != null){
|
||||
content.minfo.mod = currentMod;
|
||||
if(content.minfo.sourceFile == null){
|
||||
content.minfo.sourceFile = new Fi(content.name);
|
||||
}
|
||||
}
|
||||
contentNameMap[content.getContentType().ordinal()].put(content.name, content);
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=3c2fae9b66b6affc1ba6701cce19ca9625c5e1b1
|
||||
archash=31a5158c6395b7e905ba546348c98fd99ea736bb
|
||||
|
Reference in New Issue
Block a user