diff --git a/src/server/minecraft.js b/src/server/minecraft.js index 299c052..af09558 100644 --- a/src/server/minecraft.js +++ b/src/server/minecraft.js @@ -368,12 +368,15 @@ class Minecraft { const assets = join(this.minecraftpath, "assets") const librairies = join(this.minecraftpath,"libraries") const natives = join(this.minecraftpath, "natives") + const versions = join(this.minecraftpath, "versions") if(fs.existsSync(assets)) fs.rmSync(assets, { recursive: true }) if(fs.existsSync(librairies)) fs.rmSync(librairies, { recursive: true }) if(fs.existsSync(natives)) fs.rmSync(natives, { recursive: true }) + if(fs.existsSync(versions)) + fs.rmSync(versions, { recursive: true }) logger.info("Game data invalidated") event.sender.send("invalidated") }