forked from GeyserMC/Geyser
Use correct methods in refreshEmotes
This commit is contained in:
parent
ee8c718c62
commit
dfba278f4d
1 changed files with 2 additions and 2 deletions
|
@ -783,10 +783,10 @@ public class GeyserSession implements CommandSender {
|
|||
List<UUID> pieces = new ArrayList<>();
|
||||
for (UUID piece : emotes) {
|
||||
if (!player.getEmotes().contains(piece)) {
|
||||
this.emotes.add(piece);
|
||||
}
|
||||
pieces.add(piece);
|
||||
}
|
||||
player.getEmotes().add(piece);
|
||||
}
|
||||
EmoteListPacket emoteList = new EmoteListPacket();
|
||||
emoteList.setRuntimeEntityId(player.getPlayerEntity().getGeyserId());
|
||||
emoteList.getPieceIds().addAll(pieces);
|
||||
|
|
Loading…
Reference in a new issue