From 83201135ec8a660f7afcc8fd8a8806b305d68d05 Mon Sep 17 00:00:00 2001 From: VADemon Date: Wed, 23 Dec 2020 11:29:48 +0100 Subject: [PATCH] Use proper Client constructor --- src/main/java/com/github/steveice10/packetlib/Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/steveice10/packetlib/Client.java b/src/main/java/com/github/steveice10/packetlib/Client.java index 35a4256d..c5ba8da0 100644 --- a/src/main/java/com/github/steveice10/packetlib/Client.java +++ b/src/main/java/com/github/steveice10/packetlib/Client.java @@ -23,7 +23,7 @@ public class Client { } public Client(String host, int port, PacketProtocol protocol, SessionFactory factory) { - new Client(host, port, null, 0, protocol, factory); + this(host, port, null, 0, protocol, factory); } /**