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:
Ursprung
ee8c718c62
Commit
dfba278f4d
@ -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());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren