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

Fixed fauxSleeping check on leaving bed

Dieser Commit ist enthalten in:
Nathan Adams 2011-10-11 02:38:32 +01:00
Ursprung af1838305c
Commit fd57c7111c

Datei anzeigen

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