From 475e5c1c5d4d7569b5cbfb2c25ef9e30f036693c Mon Sep 17 00:00:00 2001 From: Your Average Code <138674451+UrAvgCode@users.noreply.github.com> Date: Thu, 25 Jan 2024 14:17:42 +0100 Subject: [PATCH] Redundant 'close()' --- src/Bot.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Bot.java b/src/Bot.java index ca6dbe7..df53f63 100644 --- a/src/Bot.java +++ b/src/Bot.java @@ -39,7 +39,6 @@ public abstract class Bot implements Runnable { } catch (Exception e) { break; } } - socket.close(); } catch (IOException e) { System.err.println("Error: " + e.getMessage()); }