Preserve the old sample

This commit is contained in:
Tux 2014-06-13 23:36:20 -04:00
parent 28104fee64
commit 511202044c
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class RedisBungeeListener implements Listener {
public void onPing(ProxyPingEvent event) {
ServerPing old = event.getResponse();
ServerPing reply = new ServerPing();
reply.setPlayers(new ServerPing.Players(old.getPlayers().getMax(), plugin.getCount(), null));
reply.setPlayers(new ServerPing.Players(old.getPlayers().getMax(), plugin.getCount(), old.getPlayers().getSample()));
reply.setDescription(old.getDescription());
reply.setFavicon(old.getFaviconObject());
reply.setVersion(old.getVersion());