@Override
    public void onEntityDamage(EntityDamageEvent event) {
	if (!Config.isProtectedFromFalling()) {
	    return;
	}
	if (!(event.getEntity() instanceof Player)) {
	    return;
	}
	Player player = (Player) event.getEntity();

	if (!event.getCause().equals(DamageCause.FALL)) {
	    return;
	}

	PlanArea area = BuildingPlanner.plugin.areaManager.getAffectedArea(event.getEntity().getLocation().getBlock());
	if (area == null) {
	    return;
	}

	if (area.isCommitted()) {
	    return;
	}

	if (!area.checkPermission(player, OpType.MODIFY)) {
	    event.setCancelled(true);
	    return;
	}

	event.setCancelled(true);
    }