3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 16:12:46 +01:00

PlayerEntity: despawn even if still on the player list (#1263)

Fixes LibsDisguises not working, as it uses the same entity ID for the disguised entity and player. The player still appears on the player list.
Dieser Commit ist enthalten in:
Camotoy 2020-09-14 20:50:21 -04:00 committet von GitHub
Ursprung 26802e6dab
Commit b13f5e900f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -86,12 +86,6 @@ public class PlayerEntity extends LivingEntity {
if (geyserId == 1) valid = true;
}
@Override
public boolean despawnEntity(GeyserSession session) {
super.despawnEntity(session);
return !playerList; // don't remove from cache when still on playerlist
}
@Override
public void spawnEntity(GeyserSession session) {
if (geyserId == 1) return;