diff --git a/LaunchServer/source/LaunchServer.java b/LaunchServer/source/LaunchServer.java index f82deef..8a9071e 100644 --- a/LaunchServer/source/LaunchServer.java +++ b/LaunchServer/source/LaunchServer.java @@ -323,7 +323,7 @@ private void shutdownHook() { serverSocketHandler.close(); - // Flush auth handler and provider + // Flush handlers & providers try { config.authHandler.flush(); } catch (IOException e) { @@ -334,6 +334,11 @@ } catch (IOException e) { LogHelper.error(e); } + try { + config.textureProvider.flush(); + } catch (IOException e) { + LogHelper.error(e); + } // Print last message before death :( LogHelper.info("LaunchServer stopped");