Skip to content

Commit 98c5296

Browse files
committed
Fix requestedUsername field diff
1 parent 8c45a9c commit 98c5296

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

paper-server/patches/sources/net/minecraft/server/network/ServerLoginPacketListenerImpl.java.patch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717
private static final int MAX_TICKS_BEFORE_LOGIN = 600;
1818
private final byte[] challenge;
1919
final MinecraftServer server;
20-
@@ -56,10 +_,16 @@
20+
@@ -56,10 +_,15 @@
2121
final ServerActivityMonitor serverActivityMonitor;
2222
public volatile ServerLoginPacketListenerImpl.State state = ServerLoginPacketListenerImpl.State.HELLO;
2323
private int tick;
2424
- @Nullable String requestedUsername;
25-
+ @Nullable
26-
+ public String requestedUsername; // Paper
25+
+ public @Nullable String requestedUsername; // Paper - public
2726
public @Nullable GameProfile authenticatedProfile;
2827
private final String serverId = "";
2928
- private final boolean transferred;

0 commit comments

Comments
 (0)