Package net.citizensnpcs.questers

Examples of net.citizensnpcs.questers.Quester


  @Override
  public void loadState(HumanNPC npc) {
    if (!npc.isType("quester"))
      npc.registerType("quester");
    Quester quester = npc.getType("quester");
    quester.load(profiles, npc.getUID());
    saveState(npc);
  }
View Full Code Here


  @Override
  public void saveState(HumanNPC npc) {
    if (exists(npc)) {
      setEnabled(npc, npc.isType("quester"));
      Quester quester = npc.getType("quester");
      quester.save(profiles, npc.getUID());
    }
  }
View Full Code Here

TOP

Related Classes of net.citizensnpcs.questers.Quester

Copyright © 2018 www.massapicom. 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.