Package com.massivecraft.factions.event

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


    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);
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.