3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 08:10:11 +01:00

Use correct methods in refreshEmotes

Dieser Commit ist enthalten in:
RednedEpic 2020-10-23 01:36:34 -05:00
Ursprung ee8c718c62
Commit dfba278f4d

Datei anzeigen

@ -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);