mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Faux sleepers wake up normally. Fixes BUKKIT-3667
This commit is contained in:
parent
5d24f2b9c0
commit
c99de378c6
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue