mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 11:38:29 +01:00
Fixed fauxSleeping check on leaving bed
This commit is contained in:
parent
af1838305c
commit
fd57c7111c
@ -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 New Issue
Block a user