Archiviert
13
0

Cancel bed return method if entity is ignoring sleep. Thanks to EdGruberman.

Dieser Commit ist enthalten in:
Erik Broes 2011-09-23 21:05:23 +02:00
Ursprung a2957c7b8f
Commit 75ac4e00b2

Datei anzeigen

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