mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Fixed fauxSleeping check on leaving bed
This commit is contained in:
parent
af1838305c
commit
fd57c7111c
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ public abstract class EntityHuman extends EntityLiving {
|
|||
}
|
||||
|
||||
public void a(boolean flag, boolean flag1, boolean flag2) {
|
||||
if (this.fauxSleeping) return; // CraftBukkit - Can't leave bed if not in one!
|
||||
if (this.fauxSleeping && !this.sleeping) return; // CraftBukkit - Can't leave bed if not in one!
|
||||
|
||||
this.b(0.6F, 1.8F);
|
||||
this.m_();
|
||||
|
|
Loading…
Reference in a new issue