Package com.massivecraft.factions.event

Examples of com.massivecraft.factions.event.FactionsEventOpenChange


    // Args
    Boolean newOpen = this.arg(0, ARBoolean.get(), !usenderFaction.isOpen());
    if (newOpen == null) return;

    // Event
    FactionsEventOpenChange event = new FactionsEventOpenChange(sender, usenderFaction, newOpen);
    event.run();
    if (event.isCancelled()) return;
    newOpen = event.isNewOpen();
   
    // Apply
    usenderFaction.setOpen(newOpen);
   
    // Inform
View Full Code Here

TOP

Related Classes of com.massivecraft.factions.event.FactionsEventOpenChange

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.