Crash fix

This commit is contained in:
Anuken 2018-09-25 08:41:40 -04:00
parent b6c0fe8bf7
commit 499b7b2e67

View File

@ -25,6 +25,7 @@ import io.anuke.mindustry.world.Block;
import io.anuke.mindustry.world.ColorMapper;
import io.anuke.ucore.function.Consumer;
import io.anuke.ucore.util.Log;
import io.anuke.ucore.util.ThreadArray;
/**
* Loads all game content.
@ -110,7 +111,7 @@ public class ContentLoader{
registerTypes();
for(ContentType type : ContentType.values()){
contentMap[type.ordinal()] = new Array<>();
contentMap[type.ordinal()] = new ThreadArray<>();
contentNameMap[type.ordinal()] = new ObjectMap<>();
}