From 09d7774037d3b7eed98b5df4af900a9f5f1dc4ac Mon Sep 17 00:00:00 2001 From: Steveice10 Date: Fri, 15 Jan 2021 12:07:12 -0800 Subject: [PATCH] Default client local address to 0.0.0.0. --- 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 71759845..cf4237a1 100644 --- a/src/main/java/com/github/steveice10/packetlib/Client.java +++ b/src/main/java/com/github/steveice10/packetlib/Client.java @@ -25,7 +25,7 @@ public class Client { } public Client(String host, int port, PacketProtocol protocol, SessionFactory factory) { - this(host, port, null, 0, protocol, factory); + this(host, port, "0.0.0.0", 0, protocol, factory); } /**