From 936e0f0e82a6038479cfd43b8c616fd80f6caf3d Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Sun, 15 Dec 2013 22:54:59 +0100 Subject: [PATCH] Actually fix the ServerPing wrapper. --- .../java/com/comphenix/protocol/wrappers/WrappedServerPing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java index 02ab8348..3df57f58 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedServerPing.java @@ -185,7 +185,7 @@ public class WrappedServerPing extends AbstractWrapper { * @param profile - every logged in player. */ public void setPlayers(Iterable profile) { - PLAYERS_PROFILES.set(handle, PROFILE_CONVERT.getGeneric(GameProfile[].class, profile)); + PLAYERS_PROFILES.set(players, PROFILE_CONVERT.getGeneric(GameProfile[].class, profile)); } /**