Package net.t00thpick1.residence.api.areas

Examples of net.t00thpick1.residence.api.areas.ResidenceArea


            return;
        }

        Block block = event.getBlock();
        Player player = event.getPlayer();
        ResidenceArea area = ResidenceAPI.getResidenceManager().getByLocation(block.getLocation());

        if (area != null) {
            if (!area.allowAction(player.getName(), FlagManager.CONTAINER) && !Residence.getInstance().isAdminMode(player)) {
                //Doesn't have permissions to that chest.
                event.setResult(Event.Result.DENY);
            }
        }
    }
View Full Code Here

TOP

Related Classes of net.t00thpick1.residence.api.areas.ResidenceArea

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.