From af3ab5f6eb4ab18cea6028156d09a201580acfc9 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 2 Apr 2023 21:28:33 +0200 Subject: [PATCH] Fixed NPE --- .../raphimc/viaproxy/proxy/session/DummyProxyConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/raphimc/viaproxy/proxy/session/DummyProxyConnection.java b/src/main/java/net/raphimc/viaproxy/proxy/session/DummyProxyConnection.java index 592676f..253a604 100644 --- a/src/main/java/net/raphimc/viaproxy/proxy/session/DummyProxyConnection.java +++ b/src/main/java/net/raphimc/viaproxy/proxy/session/DummyProxyConnection.java @@ -73,7 +73,7 @@ public class DummyProxyConnection extends ProxyConnection { @Override public GameProfile getGameProfile() { - throw new UnsupportedOperationException(); + return null; } @Override