geforkt von Mirrors/Paper
Cancel bed return method if entity is ignoring sleep. Thanks to EdGruberman.
Dieser Commit ist enthalten in:
Ursprung
a2957c7b8f
Commit
75ac4e00b2
@ -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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren