From 1df7e0456c814ad5e1b37da9a52469dd5fff3bb1 Mon Sep 17 00:00:00 2001 From: Maks_gaming Date: Sun, 15 Dec 2024 00:27:01 +0300 Subject: [PATCH] less time for reconnect --- package.json | 2 +- src/packet/PacketSocketHandler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 896a28a..c476d84 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "git", "url": "git+https://github.com/Maks-gaming/mineflayer-plasmovoice.git" }, - "version": "1.3.3b", + "version": "1.3.3c", "description": "A plugin for mineflayer that allows you to play sounds with the Plasmovoice mod", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/packet/PacketSocketHandler.ts b/src/packet/PacketSocketHandler.ts index 7adea89..da31b2b 100644 --- a/src/packet/PacketSocketHandler.ts +++ b/src/packet/PacketSocketHandler.ts @@ -57,7 +57,7 @@ export default class PacketSocketHandler { } else { clearInterval(connector); } - }, 3000); + }, 500); }); this.socket.on("close", () => {