From 3a8205463a9fcc9b9b41f0906e4818fc6efc2340 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 26 Jul 2018 16:59:31 +0200 Subject: [PATCH] Fix NPE at startup --- .../com/voxelmodpack/hdskins/resource/SkinResourceManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/resource/SkinResourceManager.java b/src/hdskins/java/com/voxelmodpack/hdskins/resource/SkinResourceManager.java index b5533599..59999b75 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/resource/SkinResourceManager.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/resource/SkinResourceManager.java @@ -28,7 +28,7 @@ import java.util.concurrent.Future; public class SkinResourceManager implements IResourceManagerReloadListener { private final Gson GSON = new Gson(); - private ExecutorService executor; + private ExecutorService executor = Executors.newSingleThreadExecutor(); private Map uuidSkins = Maps.newHashMap(); private Map namedSkins = Maps.newHashMap();