protected void addBlockToArea(final Block block, final Player player, final PlanArea area, final Material type,
	    final short durability) {
	if (area.isCommitted()) {
	    // If committed area, means that we're changing the structure underlying the plan, so
	    // replace the original.
	    area.addOriginalBlock(block, true);
	} else {
	    if (type != null) {
		// 'Refund' the item when placed in a planning area.
		ItemStack newItem = new ItemStack(type, 1, durability);
		player.getInventory().addItem(newItem);
	    }

	    area.addPlanBlock(block);
	}
    }