mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-12 18:42:07 +01:00
SPIGOT-7009: Stuck on "Loading terrain..." after disconnecting on respawn screen
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
parent
77f366d383
commit
462a5fddbf
@ -78,15 +78,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -563,7 +609,7 @@
|
|
||||||
|
|
||||||
protected void tickDeath() {
|
|
||||||
++this.deathTime;
|
|
||||||
- if (this.deathTime == 20 && !this.level.isClientSide()) {
|
|
||||||
+ if (this.deathTime >= 20 && !this.isRemoved() && !this.level.isClientSide()) { // CraftBukkit - (this.deathTicks == 20) -> (this.deathTicks >= 20 && !this.dead)
|
|
||||||
this.level.broadcastEntityEvent(this, (byte) 60);
|
|
||||||
this.remove(Entity.RemovalReason.KILLED);
|
|
||||||
}
|
|
||||||
@@ -655,9 +701,15 @@
|
@@ -655,9 +701,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user