Use UUID's instead of playernames.

This commit is contained in:
TadahTech 2016-07-21 02:16:26 -05:00
parent 4cab91f251
commit f1b3c4756d

View File

@ -225,7 +225,7 @@ public class PartyRedisManager
public void sendPartyInfo(String server, Party party)
{
publish(server, PARTY_INFO, GSON.toJson(party));
List<String> members = party.getMembers();
List<UUID> members = party.getMembersByUUID();
party.getMembersByUUID().forEach(uuid -> _plugin.getMethodManager().removeForTransfer(uuid));
members.stream().map(Bukkit::getPlayer).forEach(player1 ->
{