Skip to content

Commit

Permalink
Fix player sample on velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Mar 5, 2022
1 parent dd8c6ba commit 4c249b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void clearSamples() throws UnsupportedOperationException {

@Override
public void addSample(UUID uuid, String name) throws UnsupportedOperationException {
builder.samplePlayers(Stream.concat(builder.getSamplePlayers().stream(), Stream.of(new ServerPing.SamplePlayer(name, uuid))).toArray(ServerPing.SamplePlayer[]::new));
builder.samplePlayers(new ServerPing.SamplePlayer(name, uuid));
}

@Override
Expand Down

0 comments on commit 4c249b6

Please sign in to comment.