Package com.massivecraft.factions.event

Examples of com.massivecraft.factions.event.FactionsEventInvitedChange.run()


    // FPerm
    if ( ! FPerm.INVITE.has(usender, usenderFaction, true)) return;
   
    // Event
    FactionsEventInvitedChange event = new FactionsEventInvitedChange(sender, uplayer, usenderFaction, newInvited);
    event.run();
    if (event.isCancelled()) return;
    newInvited = event.isNewInvited();

    // Apply
    usenderFaction.setInvited(uplayer, newInvited);
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.