Use UUID's instead of playernames.
This commit is contained in:
parent
4cab91f251
commit
f1b3c4756d
@ -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 ->
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user