Skip to content

Commit

Permalink
Pass through packets in config state (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxkitsune authored May 23, 2024
1 parent afd8b55 commit a02b601
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,20 @@ public boolean handle(final PluginMessagePacket packet) {
public boolean handle(PingIdentifyPacket packet) {
if (player.getConnectionInFlight() != null) {
player.getConnectionInFlight().ensureConnected().write(packet);
return true;
}
return true;

return false;
}

@Override
public boolean handle(KnownPacksPacket packet) {
if (player.getConnectionInFlight() != null) {
player.getConnectionInFlight().ensureConnected().write(packet);
return true;
}

return true;
return false;
}

@Override
Expand Down

0 comments on commit a02b601

Please sign in to comment.