Examples of canSkipNight()


Examples of org.spout.vanilla.component.entity.misc.Sleep.canSkipNight()

    // Sleeping players
    boolean skipNight = false;
    for (Player player : playerList) {
      Sleep c = player.get(Sleep.class);
      if (c == null || c.canSkipNight()) {
        skipNight = true;
      } else {
        skipNight = false;
        break;
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.