Use correct methods in refreshEmotes

This commit is contained in:
RednedEpic 2020-10-23 01:36:34 -05:00
parent ee8c718c62
commit dfba278f4d

View file

@ -783,9 +783,9 @@ 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);
}
pieces.add(piece);
player.getEmotes().add(piece);
}
EmoteListPacket emoteList = new EmoteListPacket();
emoteList.setRuntimeEntityId(player.getPlayerEntity().getGeyserId());