mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 03:05:52 -07:00
Fixed fauxSleeping check on leaving bed
This commit is contained in:
@@ -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_();
|
||||
|
Reference in New Issue
Block a user