Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-09-08 20:43:04 +02:00
Remove dangling entity link packet in PlayerEntity for parrots
Dieser Commit ist enthalten in:
Ursprung
6192237cc9
Commit
d2a18f8fd5
@ -233,8 +233,6 @@ public class PlayerEntity extends LivingEntity {
|
||||
} else {
|
||||
Entity parrot = (entityMetadata.getId() == 18 ? leftParrot : rightParrot);
|
||||
if (parrot != null) {
|
||||
SetEntityLinkPacket linkPacket = new SetEntityLinkPacket();
|
||||
linkPacket.setEntityLink(new EntityLink(parrot.getGeyserId(), geyserId, EntityLink.Type.REMOVE, false));
|
||||
parrot.despawnEntity(session);
|
||||
if (entityMetadata.getId() == 18) {
|
||||
leftParrot = null;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren