Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
Faux sleepers wake up normally. Fixes BUKKIT-3667
Dieser Commit ist enthalten in:
Ursprung
5d24f2b9c0
Commit
c99de378c6
@ -523,7 +523,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
}
|
||||
|
||||
public void a(boolean flag, boolean flag1, boolean flag2) {
|
||||
if (this.fauxSleeping && !this.sleeping) return; // CraftBukkit - Can't leave bed if not in one!
|
||||
if (!this.sleeping) return; // CraftBukkit - Can't leave bed if not in one!
|
||||
|
||||
if (this.isSleeping()) {
|
||||
this.r().getTracker().sendPacketToEntity(this, new PacketPlayOutAnimation(this, 2));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren