forked from GeyserMC/Geyser
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.
This commit is contained in:
parent
26802e6dab
commit
b13f5e900f
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue