@Override public void update() { sleeping = ch != null && ((Mob) ch).state == ((Mob) ch).SLEEPEING; super.update(); }
@Override public void update() { sleeping = ch.isAlive() && ((Hero) ch).resting; super.update(); }