Package com.massivecraft.factions.entity

Examples of com.massivecraft.factions.entity.FactionColl.create()


    FactionsEventCreate createEvent = new FactionsEventCreate(sender, coll.getUniverse(), factionId, newName);
    createEvent.run();
    if (createEvent.isCancelled()) return;
   
    // Apply
    Faction faction = coll.create(factionId);
    faction.setName(newName);
   
    usender.setRole(Rel.LEADER);
    usender.setFaction(faction);
   
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.