Skip to content

Commit

Permalink
Fix NPE when a TitlePacket of type TIMES is sent (GeyserMC#1944)
Browse files Browse the repository at this point in the history
References: bundabrg/GeyserReversion#29

Co-authored-by: bundabrg <[email protected]>
  • Loading branch information
bundabrg and bundabrg authored Feb 17, 2021
1 parent fc712ea commit 15027c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public void translate(ServerTitlePacket packet, GeyserSession session) {
titlePacket.setFadeInTime(packet.getFadeIn());
titlePacket.setFadeOutTime(packet.getFadeOut());
titlePacket.setStayTime(packet.getStay());
titlePacket.setText("");
break;
}

Expand Down

0 comments on commit 15027c2

Please sign in to comment.