mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Use correct methods in refreshEmotes
This commit is contained in:
parent
ee8c718c62
commit
dfba278f4d
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue