3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 16:12:46 +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,9 +783,9 @@ public class GeyserSession implements CommandSender {
List<UUID> pieces = new ArrayList<>(); List<UUID> pieces = new ArrayList<>();
for (UUID piece : emotes) { for (UUID piece : emotes) {
if (!player.getEmotes().contains(piece)) { if (!player.getEmotes().contains(piece)) {
this.emotes.add(piece); pieces.add(piece);
} }
pieces.add(piece); player.getEmotes().add(piece);
} }
EmoteListPacket emoteList = new EmoteListPacket(); EmoteListPacket emoteList = new EmoteListPacket();
emoteList.setRuntimeEntityId(player.getPlayerEntity().getGeyserId()); emoteList.setRuntimeEntityId(player.getPlayerEntity().getGeyserId());