3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 04:50:05 +01:00

Faux sleepers wake up normally. Fixes BUKKIT-3667

Dieser Commit ist enthalten in:
Yariv Livay 2013-02-25 22:26:36 +02:00 committet von Travis Watkins
Ursprung 5d24f2b9c0
Commit c99de378c6

Datei anzeigen

@ -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));