Fix NPE at startup

This commit is contained in:
Sollace 2018-07-26 16:59:31 +02:00
parent 1ea7ed0c6b
commit 3a8205463a

View file

@ -28,7 +28,7 @@ import java.util.concurrent.Future;
public class SkinResourceManager implements IResourceManagerReloadListener { public class SkinResourceManager implements IResourceManagerReloadListener {
private final Gson GSON = new Gson(); private final Gson GSON = new Gson();
private ExecutorService executor; private ExecutorService executor = Executors.newSingleThreadExecutor();
private Map<UUID, Skin> uuidSkins = Maps.newHashMap(); private Map<UUID, Skin> uuidSkins = Maps.newHashMap();
private Map<String, Skin> namedSkins = Maps.newHashMap(); private Map<String, Skin> namedSkins = Maps.newHashMap();