Examples of refill()


Examples of com.bergerkiller.bukkit.tc.events.MemberCoalUsedEvent.refill()

  public boolean onCoalUsed() {
    MemberCoalUsedEvent event = MemberCoalUsedEvent.call(this);
    if (event.useCoal()) {
      return this.getCoalFromNeighbours();
    }
    return event.refill();
  }

  public boolean getCoalFromNeighbours() {
    for (MinecartMember<?> mm : this.getNeightbours()) {
      //Is it a storage minecart?
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.