13
0
geforkt von Mirrors/Paper

Added bed events and methods.

By: sk89q <the.sk89q@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-04-07 11:26:51 -07:00
Ursprung 1486672b8a
Commit 07082e80ca

Datei anzeigen

@ -47,4 +47,14 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
public String toString() { public String toString() {
return "CraftHumanEntity{" + "id=" + getEntityId() + "name=" + getName() + '}'; return "CraftHumanEntity{" + "id=" + getEntityId() + "name=" + getName() + '}';
} }
@Override
public boolean isSleeping() {
return getHandle().sleeping;
}
@Override
public int getSleepTicks() {
return getHandle().sleepTicks;
}
} }