Package com.Acrobot.ChestShop.Events.Protection

Examples of com.Acrobot.ChestShop.Events.Protection.ProtectionCheckEvent


    public static boolean canAccess(Player player, Block block) {
        return canAccess(player, block, false);
    }

    public static boolean canAccess(Player player, Block block, boolean ignoreDefaultProtection) {
        ProtectionCheckEvent event = new ProtectionCheckEvent(block, player, ignoreDefaultProtection);
        ChestShop.callEvent(event);

        return event.getResult() != Event.Result.DENY;
    }
View Full Code Here

TOP

Related Classes of com.Acrobot.ChestShop.Events.Protection.ProtectionCheckEvent

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.