diff --git a/core/src/io/anuke/mindustry/core/ContentLoader.java b/core/src/io/anuke/mindustry/core/ContentLoader.java index 20046d3ff9..2954a28a2b 100644 --- a/core/src/io/anuke/mindustry/core/ContentLoader.java +++ b/core/src/io/anuke/mindustry/core/ContentLoader.java @@ -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<>(); }