diff options
author | Yariv Livay <yarivlivay@gmail.com> | 2013-02-25 22:26:36 +0200 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2014-04-18 13:24:28 -0500 |
commit | c99de378c6d486023f18e96450788777b1e3ddc3 (patch) | |
tree | 1012ea41672c0d12f5d617be554fec071afe061e | |
parent | 5d24f2b9c0ef2d6d136e36a64c530a1fde657f5c (diff) | |
download | craftbukkit-c99de378c6d486023f18e96450788777b1e3ddc3.tar craftbukkit-c99de378c6d486023f18e96450788777b1e3ddc3.tar.gz craftbukkit-c99de378c6d486023f18e96450788777b1e3ddc3.tar.lz craftbukkit-c99de378c6d486023f18e96450788777b1e3ddc3.tar.xz craftbukkit-c99de378c6d486023f18e96450788777b1e3ddc3.zip |
Faux sleepers wake up normally. Fixes BUKKIT-3667
-rw-r--r-- | src/main/java/net/minecraft/server/EntityPlayer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index b5ebce6b..3a0d679b 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -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)); |