diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityHuman.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index eafc83b2..ab564492 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -874,6 +874,8 @@ 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! + this.b(0.6F, 1.8F); this.m_(); ChunkCoordinates chunkcoordinates = this.E; |