mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 23:28:52 +07:00
Crash fix
This commit is contained in:
parent
b6c0fe8bf7
commit
499b7b2e67
@ -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<>();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user